Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.01 KB

decentraland-ecs.shape.md

File metadata and controls

13 lines (9 loc) · 1.01 KB

Home > decentraland-ecs > Shape

Shape class

Properties

Property Access Modifier Type Description
billboard number Billboard defines a behavior that makes the entity face the camera in any moment. There are three combinable types of camera facing options defined in the object BillboardModes. BILLBOARDMODE_NONE: 0 BILLBOARDMODE_X: 1 BILLBOARDMODE_Y: 2 BILLBOARDMODE_Z: 4 BILLBOARDMODE_ALL: 7

To combine billboard types write those in the form: BillboardModes.BILLBOARDMODE_X | BillboardModes.BILLBOARDMODE_Y

tag string
visible boolean Defines if the entity and its children should be rendered
withCollisions boolean Set to true to turn on the collider for the entity.