CLASSES
TagsA - Z

ModelShape

Description

class ModelShape

Constructor

new ModelShape(id, shape, 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[]
shapeUV number[]
posFunction (particle: SolidParticle, i: number, s: number) => void

Members

shapeID : number