Class EntityBone
Inherited Members
Namespace: GTA
Assembly: ScriptHookVDotNet3.dll
Syntax
public class EntityBone
Properties
| Name | Description |
|---|---|
| ForwardVector | Gets the vector that points in front of this EntityBone relative to the world. |
| Index | Gets the bone index of this EntityBone. |
| IsValid | Determines if this EntityBone is valid. |
| Owner | Gets the owner Entity this bone belongs to. |
| Pose | Gets or sets the current pose offset (dynamic position) of this EntityBone relative to the Entity its part of. |
| PoseMatrix | Gets or sets the dynamic Matrix of this EntityBone relative to the Entity its part of. |
| Position | Gets the position of this EntityBone in world coordinates. |
| RelativeForwardVector | Gets the vector that points in front of this EntityBone relative to the Entity its part of. |
| RelativeMatrix | Gets the Matrix of this EntityBone relative to the Entity its part of. |
| RelativePosition | Gets the position of this EntityBone relative to the Entity its part of. |
| RelativeRightVector | Gets the vector that points to the right of this EntityBone relative to the Entity its part of. |
| RelativeUpVector | Gets the vector that points above this EntityBone relative to the Entity its part of. |
| RightVector | Gets the vector that points to the right of this EntityBone relative to the world. |
| UpVector | Gets the vector that points above this EntityBone relative to the world. |
Methods
| Name | Description |
|---|---|
| Equals(Object) | Determines if an System.Object refers to the same bone as this EntityBone. |
| GetHashCode() | |
| GetOffsetPosition(Vector3) | Gets the position in world coordinates of an offset relative this EntityBone |
| GetPositionOffset(Vector3) | Gets the relative offset of this EntityBone from a world coordinates position |
| GetRelativeOffsetPosition(Vector3) | Gets the position relative to the Entity of an offset relative this EntityBone |
| GetRelativePositionOffset(Vector3) | Gets the relative offset of this EntityBone from an offset from the Entity |
Operators
| Name | Description |
|---|---|
| Equality(EntityBone, Bone) | Determines if an EntityBone refers to a specific bone. |
| Equality(EntityBone, EntityBone) | Determines if two EntityBones refer to the same bone. |
| Implicit(EntityBone to InputArgument) | Converts an EntityBone to a native input argument. |
| Implicit(EntityBone to Int32) | Converts an EntityBone to a bone index. |
| Inequality(EntityBone, Bone) | Determines if an EntityBone doesn't refer to a specific bone. |
| Inequality(EntityBone, EntityBone) | Determines if two EntityBones don't refer to the same bone. |