API Docs for: 0.7.0

OBBHelper

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

Constructor

OBBHelper

(
  • cfg
)

Parameters:

  • cfg

    Configuration

    • [target] Number | String | Component optional

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

    • [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 OBBHelper.

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 OBBHelper is visible or not.

Default: true