Home > decentraland-ecs > Shape > billboard
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