SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.PedBone Class Reference
Inheritance diagram for GTA.PedBone:
GTA.EntityBone

Properties

new Ped Owner [get]
 
- Properties inherited from GTA.EntityBone
int Index [get]
 Gets the bone index of this EntityBone. More...
 
Entity Owner [get]
 Gets the owner Entity this bone belongs to. More...
 
Matrix PoseMatrix [get, set]
 Gets or sets the dynamic Matrix of this EntityBone relative to the Entity its part of. More...
 
Matrix RelativeMatrix [get]
 Gets the Matrix of this EntityBone relative to the Entity its part of. More...
 
Vector3 Pose [get, set]
 Gets or sets the current pose offset (dynamic position) of this EntityBone relative to the Entity its part of. More...
 
Vector3 RelativePosition [get]
 Gets the position of this EntityBone relative to the Entity its part of. More...
 
Vector3 UpVector [get]
 Gets the vector that points above this EntityBone relative to the world. More...
 
Vector3 RightVector [get]
 Gets the vector that points to the right of this EntityBone relative to the world. More...
 
Vector3 ForwardVector [get]
 Gets the vector that points in front of this EntityBone relative to the world. More...
 
Vector3 RelativeUpVector [get]
 Gets the vector that points above this EntityBone relative to the Entity its part of. More...
 
Vector3 RelativeRightVector [get]
 Gets the vector that points to the right of this EntityBone relative to the Entity its part of. More...
 
Vector3 RelativeForwardVector [get]
 Gets the vector that points in front of this EntityBone relative to the Entity its part of. More...
 

Additional Inherited Members

- Public Member Functions inherited from GTA.EntityBone
Vector3 GetOffsetPosition (Vector3 offset)
 Gets the position in world coordinates of an offset relative this EntityBone More...
 
Vector3 GetRelativeOffsetPosition (Vector3 offset)
 Gets the position relative to the Entity of an offset relative this EntityBone More...
 
Vector3 GetPositionOffset (Vector3 worldCoords)
 Gets the relative offset of this EntityBone from a world coordinates position More...
 
Vector3 GetRelativePositionOffset (Vector3 entityOffset)
 Gets the relative offset of this EntityBone from an offset from the Entity More...
 
override bool Equals (object obj)
 Determines if an object refers to the same bone as this EntityBone. More...
 
override int GetHashCode ()
 
- Static Public Member Functions inherited from GTA.EntityBone
static bool operator== (EntityBone left, EntityBone right)
 Determines if two EntityBones refer to the same bone. More...
 
static bool operator!= (EntityBone left, EntityBone right)
 Determines if two EntityBones don't refer to the same bone. More...
 
static bool operator== (EntityBone entityBone, Bone boneId)
 Determines if an EntityBone refers to a specific bone. More...
 
static bool operator!= (EntityBone entityBone, Bone boneId)
 Determines if an EntityBone doesn't refer to a specific bone. More...
 
static implicit operator int (EntityBone entityBone)
 Converts an EntityBone to a bone index. More...
 
static implicit operator InputArgument (EntityBone entityBone)
 Converts an EntityBone to a native input argument. More...
 
- Public Attributes inherited from GTA.EntityBone
bool IsValid => Owner.Exists() && Index != -1
 Determines if this EntityBone is valid. More...
 
Vector3 Position => Function.Call<Vector3>(Hash.GET_WORLD_POSITION_OF_ENTITY_BONE, Owner.Handle, Index)
 Gets the position of this EntityBone in world coordinates. More...
 

Property Documentation

◆ Owner

new Ped GTA.PedBone.Owner
get

The documentation for this class was generated from the following file: