Skip to content
🎉 Angular Three v4 is here! Read the announcement

NgtsBillboard

A component that rotates its contents to always face the camera (billboarding effect). Useful for sprites, labels, or any content that should always face the viewer.

Options

options input accepts any properties from THREE.Group in addition to the following:

Properties

name type description
follow boolean Whether the billboard should follow (face) the camera. Default true.
lockX boolean Lock rotation on the X axis, preventing the billboard from rotating around X. Default false.
lockY boolean Lock rotation on the Y axis, preventing the billboard from rotating around Y. Default false.
lockZ boolean Lock rotation on the Z axis, preventing the billboard from rotating around Z. Default false.