Advanced
Names of the built-in 3D shapes, as found on each shape's type field
type
Reading type costs less than an instanceof test, as with pixi's SHAPE_PRIMITIVE.
instanceof
SHAPE_PRIMITIVE
Names of the built-in 3D shapes, as found on each shape's
typefieldReading
typecosts less than aninstanceoftest, as with pixi'sSHAPE_PRIMITIVE.