◆ Equals()
override bool GTA.EntityBone.Equals |
( |
object |
obj | ) |
|
Determines if an object refers to the same bone as this EntityBone.
- Parameters
-
- Returns
true
if the obj is the same bone as this EntityBone; otherwise, false
.
◆ GetHashCode()
override int GTA.EntityBone.GetHashCode |
( |
| ) |
|
◆ GetOffsetPosition()
Gets the position in world coordinates of an offset relative this EntityBone
- Parameters
-
◆ GetPositionOffset()
Gets the relative offset of this EntityBone from a world coordinates position
- Parameters
-
worldCoords | The world coordinates. |
◆ GetRelativeOffsetPosition()
Gets the position relative to the Entity of an offset relative this EntityBone
- Parameters
-
◆ GetRelativePositionOffset()
Vector3 GTA.EntityBone.GetRelativePositionOffset |
( |
Vector3 |
entityOffset | ) |
|
Gets the relative offset of this EntityBone from an offset from the Entity
- Parameters
-
entityOffset | The Entity offset. |
◆ operator InputArgument()
Converts an EntityBone to a native input argument.
◆ operator int()
static implicit GTA.EntityBone.operator int |
( |
EntityBone |
entityBone | ) |
|
|
static |
◆ operator!=() [1/2]
static bool GTA.EntityBone.operator!= |
( |
EntityBone |
entityBone, |
|
|
Bone |
boneId |
|
) |
| |
|
static |
Determines if an EntityBone doesn't refer to a specific bone.
- Parameters
-
entityBone | The EntityBone to check. |
boneId | The Bone ID to check against. |
- Returns
true
if entityBone does not refer to the boneId ; otherwise, false
.
◆ operator!=() [2/2]
Determines if two EntityBones don't refer to the same bone.
- Parameters
-
- Returns
true
if left is not the same bone as right ; otherwise, false
.
◆ operator==() [1/2]
static bool GTA.EntityBone.operator== |
( |
EntityBone |
entityBone, |
|
|
Bone |
boneId |
|
) |
| |
|
static |
Determines if an EntityBone refers to a specific bone.
- Parameters
-
entityBone | The EntityBone to check. |
boneId | The Bone ID to check against. |
- Returns
true
if entityBone refers to the boneId ; otherwise, false
.
◆ operator==() [2/2]
Determines if two EntityBones refer to the same bone.
- Parameters
-
- Returns
true
if left is the same bone as right ; otherwise, false
.
◆ IsValid
bool GTA.EntityBone.IsValid => Owner.Exists() && Index != -1 |
◆ Position
Vector3 GTA.EntityBone.Position => Function.Call<Vector3>(Hash.GET_WORLD_POSITION_OF_ENTITY_BONE, Owner.Handle, Index) |
Gets the position of this EntityBone in world coordinates.
◆ ForwardVector
Vector3 GTA.EntityBone.ForwardVector |
|
get |
Gets the vector that points in front of this EntityBone relative to the world.
◆ Index
◆ 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
Matrix GTA.EntityBone.PoseMatrix |
|
getset |
Gets or sets the dynamic Matrix of this EntityBone relative to the Entity its part of.
◆ RelativeForwardVector
Vector3 GTA.EntityBone.RelativeForwardVector |
|
get |
Gets the vector that points in front of this EntityBone relative to the Entity its part of.
◆ RelativeMatrix
Matrix GTA.EntityBone.RelativeMatrix |
|
get |
◆ RelativePosition
Vector3 GTA.EntityBone.RelativePosition |
|
get |
◆ RelativeRightVector
Vector3 GTA.EntityBone.RelativeRightVector |
|
get |
Gets the vector that points to the right of this EntityBone relative to the Entity its part of.
◆ RelativeUpVector
Vector3 GTA.EntityBone.RelativeUpVector |
|
get |
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.
The documentation for this class was generated from the following file:
- C:/Users/nitan/source/repos/scripthookvdotnet/source/scripting_v3/GTA/Entities/EntityBone.cs