Interface TriggerEntityProps

interface TriggerEntityProps {
    boundingBox?: BoundingBoxComponentProps;
    material?: MaterialComponentProps;
    name?: string;
    shape?: ShapeComponentProps;
    target?: IEntity;
    transform?: TransformComponentProps;
}

Hierarchy (view full)

Properties

The config of the bounding box component. Uses default bounding box config if not set

The configuration of the material component Uses default material config if not set

name?: string

The configuration of the shape component. Uses default shape config if not set

target?: IEntity

The target of the trigger component

The configuration of the transform component. Uses default transform config if not set