Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 657 Bytes

decentraland-ecs.shape.billboard.md

File metadata and controls

12 lines (8 loc) · 657 Bytes

Home > decentraland-ecs > Shape > billboard

Shape.billboard property

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

Signature:

billboard: number