Trigger3D Class

The Trigger3D represents a 3D trigger managed by TMInterface. A trigger is represented as the origin and size of a box in 3D space. It is currently not possible to rotate a trigger, but support will be added for visualizing different graphical primitives in the game’s environment in the future.

Behaviors

~Trigger3D()
Trigger3D()
Trigger3D(const vec3&in position, const vec3&in size)

Methods

Trigger3D& opAssign(const Trigger3D&in other)
bool opImplConv()
bool opEquals(const Trigger3D&in other)
bool ContainsPoint(const vec3&in p)
float Distance(const vec3&in p)

Properties

vec3 Position
vec3 Size