Enumerations | |
| enum | TriggerShape |
Functions | |
| enum TriggerShape | SetClippingInfo (vector mins, vector maxs, float radius) |
| Sets collision properties for object. | |
| proto native void | SetCollisionBox (vector mins, vector maxs) |
| Sets collision box for object. | |
| proto native void | SetCollisionSphere (float radius) |
| Sets collision sphere for object. | |
| proto native void | SetCollisionCylinder (float radius, float height) |
| Sets collision cylinder for object, representing cylinder from origin(center) up to defined positive height. | |
| private proto native void | SetCollisionCylinderTwoWayNative (float radius, float negativeHeight, float positiveHeight) |
| Sets collision cylinder for object, representing cylinder from origin(center), height can be defined in both directions. | |
| void | SetCollisionCylinderTwoWay (float radius, float negativeHeight, float positiveHeight) |
| Input value validated version of SetCollisionCylinderTwoWay. | |
| proto native void | SetTriggerShape (TriggerShape shape) |
| Set the TriggerShape to be used, default is TriggerShape.BOX. | |
| proto native TriggerShape | GetTriggerShape () |
| Get the current TriggerShape. | |
| override bool | IsInventoryVisible () |
Variables | |
| BOX | |
| SPHERE | |
| CYLINDER | |
| enum TriggerShape |
| proto native TriggerShape GetTriggerShape | ( | ) |
Get the current TriggerShape.
| override bool IsInventoryVisible | ( | ) |
| enum TriggerShape SetClippingInfo | ( | vector | mins, |
| vector | maxs, | ||
| float | radius | ||
| ) |
Sets collision properties for object.
| mins | vector Min values of box |
| maxs | vector Max values of box |
| radius | float Radius of bounding sphere |
Sets collision box for object.
| mins | vector Min values of box |
| maxs | vector Max values of box |
Referenced by Trigger::SetExtents().
Sets collision cylinder for object, representing cylinder from origin(center) up to defined positive height.
| radius | float Radius of cylinder |
| height | float Height of cylinder |
Input value validated version of SetCollisionCylinderTwoWay.
| radius | float Radius of cylinder |
| negativeHeigh | float Negative height of cylinder |
| positiveHeight | float Positive height of cylinder |
References ErrorEx, and SetCollisionCylinderTwoWayNative().
Referenced by CylinderTrigger::EOnInit().
| private proto native void SetCollisionCylinderTwoWayNative | ( | float | radius, |
| float | negativeHeight, | ||
| float | positiveHeight | ||
| ) |
Sets collision cylinder for object, representing cylinder from origin(center), height can be defined in both directions.
| radius | float Radius of cylinder |
| negativeHeigh | float Negative height of cylinder |
| positiveHeight | float Positive height of cylinder |
Referenced by SetCollisionCylinderTwoWay().
| proto native void SetCollisionSphere | ( | float | radius | ) |
Sets collision sphere for object.
| radius | float Radius of cylinder |
Referenced by SphereTrigger::EOnInit().
| proto native void SetTriggerShape | ( | TriggerShape | shape | ) |
Set the TriggerShape to be used, default is TriggerShape.BOX.
| @ BOX |
| @ CYLINDER |
| @ SPHERE |