class MAGES::Analytics::AnalyticsManagedObject¶
Overview¶
An object that is managed by the analytics for collision and transform detection purposes. More…
class AnalyticsManagedObject: public MonoBehaviour { public: // properties float MovementThreshold; float RotationThreshold; int ReferenceCount; bool Track; UnityEvent> CollisionEntered; UnityEvent > CollisionExited; UnityEvent > PositionChanged; UnityEvent > RotationChanged; UnityEvent FrameUpdated; };
Detailed Documentation¶
An object that is managed by the analytics for collision and transform detection purposes.
Properties¶
float MovementThreshold
Gets or sets the movement threshold for registering movements for the object.
float RotationThreshold
Gets or sets the rotation threshold for registering rotations for the object.
int ReferenceCount
Gets or sets the reference counter for the object.
bool Track
Gets or sets a value indicating whether this gameobject will be tracked or not.
UnityEvent> CollisionEntered
Gets or sets the event that gets called on collision enter. First arg is the other gameobjects name and the second is the a list with the currenlty active action names.
UnityEvent> CollisionExited
Gets or sets the event that gets called on collision exit. First arg is the other gameobjects name and the second is the a list with the currenlty active action names.
UnityEvent> PositionChanged
Gets or sets the event that gets called when position has changed. First arg is the gameobjects name and the second is the a list with the currenlty active action names.
UnityEvent> RotationChanged
Gets or sets the event that gets called when rotation has changed. First arg is the gameobjects name and the second is the a list with the currenlty active action names.
UnityEvent FrameUpdated
Gets or sets the event that gets called every frame.