ShapeType

lumin.physics. ShapeType

new ShapeType(value)

Parameters:
Name Type Description
value number

Members

(static, constant) kBox :lumin.physics.ShapeType

defined by 3 lengths

Type:

(static, constant) kCapsule :lumin.physics.ShapeType

defined by a radius and length

Type:

(static, constant) kConvexMesh :lumin.physics.ShapeType

defined by mesh vertex data

Type:

(static, constant) kOpenMesh :lumin.physics.ShapeType

defined by mesh vertex data

Type:

(static, constant) kPlane :lumin.physics.ShapeType

defined by the orientation of the shape

Type:

(static, constant) kQuad :lumin.physics.ShapeType

Type:

(static, constant) kSphere :lumin.physics.ShapeType

defined by a radius

Type:

(static, constant) kUndefined :lumin.physics.ShapeType

for internal use

Type:

value :number

Type:
  • number