API Docs for:

AABBHelper

Helper that visualizes the boundary of a target Component subtype with a World-space axis-aligned boundary (AABB).

Constructor

AABBHelper

(
  • cfg
)

Parameters:

  • cfg

    Configuration

    • [target] Number | String | Component optional

      ID or instance of a Component subtype with a World-space axis-aligned boundary (AABB).

    • [color=[0.4,0.4,0.4] Float32Array optional

      Emmissive color

    • [visible=true] Boolean optional

      Indicates whether or not this helper is visible.

Index

Properties

Properties

color

Float32Array

Emissive color of this AABBHelper.

Default: [0,1,0]

target

Component

The target Component subtype.

Must be within the same Scene as this CameraFollowAnimation. Defaults to the parent Scene when set to a null or undefined value.

visible

Boolean

Indicates whether this AABBHelper is visible or not.

Fires a AABBHelper/visible:event event on change.

Default: true