ModelShape

Description

class ModelShape

Constructor

new ModelShape(id, shape, indicesLength, shapeUV, posFunction, vtxFunction)

Creates a ModelShape object. This is an internal simplified reference to a mesh used as for a model to replicate particles from by the SPS.

SPS internal tool, don't use it manually.

Parameters

Name Type Description
id number
shape Vector3[]
indicesLength number
shapeUV number[]
posFunction Nullable<(particle: SolidParticle, i: number, s: number) => void>

Members

shapeID : number