M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.GameEntity Class Referencesealed

Game Entity class.

Inherits NativeObject.

Public Types

enum  ComponentType : UInt32 {
  MetaMesh = 0 ,
  Light ,
  CompositeComponent ,
  ClothSimulator ,
  ParticleSystemInstanced ,
  TownIcon ,
  CustomType1 ,
  Decal
}
 
enum  Mobility : sbyte {
  Stationary = 0 ,
  Dynamic ,
  DynamicForced
}
 
enum  UpgradeLevelMask {
  None = 0x000 ,
  Level0 = 0x001 ,
  Level1 = 0x002 ,
  Level2 = 0x004 ,
  Level3 = 0x008 ,
  LevelAll = 0x00F
}
 

Public Member Functions

UIntPtr GetScenePointer ()
 
override string ToString ()
 
void ClearEntityComponents (bool resetAll, bool removeScripts, bool deleteChildEntities)
 
void ClearComponents ()
 
void ClearOnlyOwnComponents ()
 
bool CheckResources (bool addToQueue, bool checkFaceResources)
 
void SetMobility (Mobility mobility)
 
Mobility GetMobility ()
 
void AddMesh (Mesh mesh, bool recomputeBoundingBox=true)
 
void AddMultiMeshToSkeleton (MetaMesh metaMesh)
 
void AddMultiMeshToSkeletonBone (MetaMesh metaMesh, sbyte boneIndex)
 
void SetColorToAllMeshesWithTagRecursive (uint color, string tag)
 
IEnumerable< MeshGetAllMeshesWithTag (string tag)
 
void SetColor (uint color1, uint color2, string meshTag)
 
uint GetFactorColor ()
 
void SetFactorColor (uint color)
 
void SetAsReplayEntity ()
 
void SetClothMaxDistanceMultiplier (float multiplier)
 
void RemoveMultiMeshFromSkeleton (MetaMesh metaMesh)
 
void RemoveMultiMeshFromSkeletonBone (MetaMesh metaMesh, sbyte boneIndex)
 
bool RemoveComponentWithMesh (Mesh mesh)
 
void AddComponent (GameEntityComponent component)
 
bool HasComponent (GameEntityComponent component)
 
bool IsInEditorScene ()
 
bool RemoveComponent (GameEntityComponent component)
 
string GetGuid ()
 
bool IsGuidValid ()
 
void SetEnforcedMaximumLodLevel (int lodLevel)
 
float GetLodLevelForDistanceSq (float distSq)
 
void GetQuickBoneEntitialFrame (sbyte index, out MatrixFrame frame)
 
void UpdateVisibilityMask ()
 
void CallScriptCallbacks (bool registerScriptComponents)
 
bool IsGhostObject ()
 
void CreateAndAddScriptComponent (string name, bool callScriptCallbacks)
 
void RemoveScriptComponent (UIntPtr scriptComponent, int removeReason)
 
void SetEntityEnvMapVisibility (bool value)
 
bool HasScene ()
 
bool HasScriptComponent (string scName)
 
IEnumerable< ScriptComponentBehaviorGetScriptComponents ()
 
IEnumerable< T > GetScriptComponents< T > ()
 
bool HasScriptOfType< T > ()
 
GameEntity GetFirstChildEntityWithTag (string tag)
 
bool HasScriptOfType (Type t)
 
GetFirstScriptOfTypeInFamily< T > ()
 
GetFirstScriptOfType< T > ()
 
GetFirstScriptOfTypeRecursive< T > ()
 
int GetScriptCountOfTypeRecursive< T > ()
 
void SetAlpha (float alpha)
 
void SetVisibilityExcludeParents (bool visible)
 
void SetReadyToRender (bool ready)
 
bool GetVisibilityExcludeParents ()
 
bool IsVisibleIncludeParents ()
 
UInt32 GetVisibilityLevelMaskIncludingParents ()
 
bool GetEditModeLevelVisibility ()
 
void Remove (int removeReason)
 
void SetUpgradeLevelMask (UpgradeLevelMask mask)
 
UpgradeLevelMask GetUpgradeLevelMask ()
 
UpgradeLevelMask GetUpgradeLevelMaskCumulative ()
 
int GetUpgradeLevelOfEntity ()
 
string GetOldPrefabName ()
 
string GetPrefabName ()
 
void CopyScriptComponentFromAnotherEntity (GameEntity otherEntity, string scriptName)
 
void SetFrame (ref MatrixFrame frame, bool isTeleportation=true)
 
void SetLocalFrame (ref MatrixFrame frame, bool isTeleportation)
 
void SetClothComponentKeepState (MetaMesh metaMesh, bool state)
 
void SetClothComponentKeepStateOfAllMeshes (bool state)
 
void SetPreviousFrameInvalid ()
 
MatrixFrame GetFrame ()
 
void GetLocalFrame (out MatrixFrame frame)
 
MatrixFrame GetLocalFrame ()
 
MatrixFrame GetGlobalFrame ()
 
MatrixFrame GetGlobalFrameImpreciseForFixedTick ()
 
MatrixFrame ComputePreciseGlobalFrameForFixedTickSlow ()
 
void SetGlobalFrame (in MatrixFrame frame, bool isTeleportation=true)
 
MatrixFrame GetPreviousGlobalFrame ()
 
MatrixFrame GetBodyWorldTransform ()
 
MatrixFrame GetBodyVisualWorldTransform ()
 
void SetLocalPosition (Vec3 position)
 
void UpdateTriadFrameForEditor ()
 
void UpdateTriadFrameForEditorForAllChildren ()
 
PhysicsMaterial GetPhysicsMaterial ()
 
void SetBodyFlags (BodyFlags bodyFlags)
 
void SetBodyFlagsRecursive (BodyFlags bodyFlags)
 
void AddBodyFlags (BodyFlags bodyFlags, bool applyToChildren=true)
 
void RemoveBodyFlags (BodyFlags bodyFlags, bool applyToChildren=true)
 
Vec3 GetGlobalScale ()
 
Vec3 GetLocalScale ()
 
void SetAnimationSoundActivation (bool activate)
 
void CopyComponentsToSkeleton ()
 
void AddMeshToBone (sbyte boneIndex, Mesh mesh)
 
void ActivateRagdoll ()
 
void PauseSkeletonAnimation ()
 
void ResumeSkeletonAnimation ()
 
bool IsSkeletonAnimationPaused ()
 
sbyte GetBoneCount ()
 
float GetWaterLevelAtPosition (Vec2 position, bool useWaterRenderer, bool checkWaterBodyEntities)
 
MatrixFrame GetBoneEntitialFrameWithIndex (sbyte boneIndex)
 
MatrixFrame GetBoneEntitialFrameWithName (string boneName)
 
void AddTag (string tag)
 
void RemoveTag (string tag)
 
bool HasTag (string tag)
 
void AddChild (GameEntity gameEntity, bool autoLocalizeFrame=false)
 Adds the child.
 
void RemoveChild (GameEntity childEntity, bool keepPhysics, bool keepScenePointer, bool callScriptCallbacks, int removeReason)
 
void BreakPrefab ()
 
GameEntity GetChild (int index)
 
bool HasComplexAnimTree ()
 
void AddMultiMesh (MetaMesh metaMesh, bool updateVisMask=true)
 
bool RemoveMultiMesh (MetaMesh metaMesh)
 
int GetComponentCount (ComponentType componentType)
 
void AddAllMeshesOfGameEntity (GameEntity gameEntity)
 
void SetFrameChanged ()
 
GameEntityComponent GetComponentAtIndex (int index, ComponentType componentType)
 
MetaMesh GetMetaMesh (int metaMeshIndex)
 
ClothSimulatorComponent GetClothSimulator (int clothSimulatorIndex)
 
void SetVectorArgument (float vectorArgument0, float vectorArgument1, float vectorArgument2, float vectorArgument3)
 
void SetMaterialForAllMeshes (Material material)
 
bool AddLight (Light light)
 
Light GetLight ()
 
void AddParticleSystemComponent (string particleid)
 
void RemoveAllParticleSystems ()
 
bool CheckPointWithOrientedBoundingBox (Vec3 point)
 
void PauseParticleSystem (bool doChildren)
 
void ResumeParticleSystem (bool doChildren)
 
void BurstEntityParticle (bool doChildren)
 
void SetRuntimeEmissionRateMultiplier (float emissionRateMultiplier)
 
BoundingBox GetLocalBoundingBox ()
 
BoundingBox GetGlobalBoundingBox ()
 
Vec3 GetBoundingBoxMin ()
 
void SetHasCustomBoundingBoxValidationSystem (bool hasCustomBoundingBox)
 
void ValidateBoundingBox ()
 
Vec3 GetBoundingBoxMax ()
 
void UpdateGlobalBounds ()
 
void RecomputeBoundingBox ()
 
float GetBoundingBoxRadius ()
 
void SetBoundingboxDirty ()
 
Vec3 ComputeGlobalPhysicsBoundingBoxMinMax ()
 
void SetContourColor (uint? color, bool alwaysVisible=true)
 
bool GetHasFrameChanged ()
 
Mesh GetFirstMesh ()
 
int GetAttachedNavmeshFaceCount ()
 
void GetAttachedNavmeshFaceRecords (PathFaceRecord[] faceRecords)
 
void SetExternalReferencesUsage (bool value)
 
void SetMorphFrameOfComponents (float value)
 
void AddEditDataUserToAllMeshes (bool entityComponents, bool skeletonComponents)
 
void ReleaseEditDataUserToAllMeshes (bool entityComponents, bool skeletonComponents)
 
void GetCameraParamsFromCameraScript (Camera cam, ref Vec3 dofParams)
 
void GetMeshBendedFrame (MatrixFrame worldSpacePosition, ref MatrixFrame output)
 
void ComputeTrajectoryVolume (float missileSpeed, float verticalAngleMaxInDegrees, float verticalAngleMinInDegrees, float horizontalAngleRangeInDegrees, float airFrictionConstant)
 
void SetAnimTreeChannelParameterForceUpdate (float phase, int channelNo)
 
void ChangeMetaMeshOrRemoveItIfNotExists (MetaMesh entityMetaMesh, MetaMesh newMetaMesh)
 
void SetUpdateValidtyOnFrameChangedOfFacesWithId (int faceGroupId, bool updateValidity)
 
void AttachNavigationMeshFaces (int faceGroupId, bool isConnected, bool isBlocker=false, bool autoLocalize=false, bool finalizeBlockerConvexHullComputation=false, bool updateEntityFrame=true)
 
void DetachAllAttachedNavigationMeshFaces ()
 
void UpdateAttachedNavigationMeshFaces ()
 
void RemoveSkeleton ()
 
void RemoveAllChildren ()
 
IEnumerable< GameEntityGetChildren ()
 
IEnumerable< GameEntityGetEntityAndChildren ()
 
void GetChildrenRecursive (ref List< GameEntity > children)
 
void GetChildrenWithTagRecursive (List< GameEntity > children, string tag)
 
bool IsSelectedOnEditor ()
 
void SelectEntityOnEditor ()
 
void DeselectEntityOnEditor ()
 
void SetAsPredisplayEntity ()
 
void RemoveFromPredisplayEntity ()
 
void SetNativeScriptComponentVariable (string className, string fieldName, ref ScriptComponentFieldHolder data, RglScriptFieldType variableType)
 
void SetManualGlobalBoundingBox (Vec3 boundingBoxStartGlobal, Vec3 boundingBoxEndGlobal)
 
bool RayHitEntity (Vec3 rayOrigin, Vec3 rayDirection, float maxLength, ref float resultLength)
 
bool RayHitEntityWithNormal (Vec3 rayOrigin, Vec3 rayDirection, float maxLength, ref Vec3 resultNormal, ref float resultLength)
 
void GetNativeScriptComponentVariable (string className, string fieldName, ref ScriptComponentFieldHolder data, RglScriptFieldType variableType)
 
void SetCustomClipPlane (Vec3 clipPosition, Vec3 clipNormal, bool setForChildren)
 
float GetBoundingBoxLongestHalfDimension ()
 
BoundingBox ComputeBoundingBoxFromLongestHalfDimension (float longestHalfDimensionCoefficient)
 
BoundingBox ComputeBoundingBoxIncludeChildren ()
 
void SetManualLocalBoundingBox (in BoundingBox boundingBox)
 
void RelaxLocalBoundingBox (in BoundingBox boundingBox)
 
void SetCullMode (MBMeshCullingMode cullMode)
 
GameEntity GetFirstChildEntityWithTagRecursive (string tag)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void SetDoNotCheckVisibility (bool value)
 
void SetBoneFrameToAllMeshes (int boneIndex, in MatrixFrame frame)
 
Vec2 GetGlobalWindStrengthVectorOfScene ()
 
Vec2 GetGlobalWindVelocityOfScene ()
 
Vec3 GetLastFinalRenderCameraPositionOfScene ()
 
void SetForceDecalsToRender (bool value)
 
void SetForceNotAffectedBySeason (bool value)
 
bool CheckIsPrefabLinkRootPrefab (int depth)
 
void SetupAdditionalBoneBufferForMeshes (int boneCount)
 
void DeleteEmptyShape (UIntPtr shape1, UIntPtr shape2)
 
UIntPtr CreateEmptyPhysxShape (bool isVariable, int physxMaterialIndex)
 
void SwapPhysxShapeInEntity (UIntPtr oldShape, UIntPtr newShape, bool isVariable)
 

Static Public Member Functions

static GameEntity CreateFromWeakEntity (WeakGameEntity weakEntity)
 
static GameEntity CreateEmpty (Scene scene, bool isModifiableFromEditor=true, bool createPhysics=true, bool callScriptCallbacks=true)
 
static GameEntity CreateEmptyDynamic (Scene scene, bool isModifiableFromEditor=true)
 
static GameEntity CreateEmptyWithoutScene ()
 
static GameEntity CopyFrom (Scene scene, GameEntity entity, bool createPhysics=true, bool callScriptCallbacks=true)
 
static GameEntity CopyFrom (Scene scene, WeakGameEntity entity, bool createPhysics=true, bool callScriptCallbacks=true)
 
static GameEntity Instantiate (Scene scene, string prefabName, bool callScriptCallbacks, bool createPhysics=true, string scriptInclusingTag="")
 Instantiates a new instance of GameEntity constructed from the given prefab.
 
static GameEntity Instantiate (Scene scene, string prefabName, MatrixFrame frame, bool callScriptCallbacks=true, string scriptInclusingTag="")
 Instantiates a new instance of GameEntity constructed from the given prefab.
 
static bool PrefabExists (string name)
 
static GameEntity CopyFromPrefab (GameEntity prefab)
 
static GameEntity CopyFromPrefab (WeakGameEntity prefab)
 
static bool operator== (GameEntity gameEntity, WeakGameEntity weakGameEntity)
 
static bool operator!= (GameEntity gameEntity, WeakGameEntity weakGameEntity)
 
static bool operator!= (GameEntity gameEntity1, GameEntity gameEntity2)
 
static bool operator== (GameEntity gameEntity1, GameEntity gameEntity2)
 
static UIntPtr CreatePhysxCookingInstance ()
 
static void DeletePhysxCookingInstance (UIntPtr pointer)
 
static void CookTrianglePhysxMesh (UIntPtr cookingInstancePointer, UIntPtr shapePointer, UIntPtr quadPinnedPointer, int physicsMaterial, int numberOfVertices, UIntPtr indicesPinnedPointer, int numberOfIndices)
 

Public Attributes

 Vec3
 

Properties

Scene Scene [get]
 
WeakGameEntity WeakEntity [get]
 
string Name [get, set]
 
EntityFlags EntityFlags [get, set]
 
EntityVisibilityFlags EntityVisibilityFlags [get, set]
 
BodyFlags BodyFlag [get, set]
 
BodyFlags PhysicsDescBodyFlag [get]
 
float Mass [get]
 
Vec3 CenterOfMass [get]
 
Vec3 GlobalPosition [get]
 
string[] Tags [get]
 Gets the tags of the entity, which can only be set in the edit mode.
 
int ChildCount [get]
 
GameEntity Parent [get]
 
GameEntity Root [get]
 Gets the top most parent of this entity.
 
int MultiMeshComponentCount [get]
 
int ClothSimulatorComponentCount [get]
 
Vec3 GlobalBoxMax [get]
 
Vec3 GlobalBoxMin [get]
 
Skeleton Skeleton [get, set]
 

Member Enumeration Documentation

◆ ComponentType

Enumerator
MetaMesh 
Light 
CompositeComponent 
ClothSimulator 
ParticleSystemInstanced 
TownIcon 
CustomType1 
Decal 

◆ Mobility

Enumerator
Stationary 
Dynamic 
DynamicForced 

◆ UpgradeLevelMask

Enumerator
None 
Level0 
Level1 
Level2 
Level3 
LevelAll 

Member Function Documentation

◆ CreateFromWeakEntity()

static GameEntity TaleWorlds.Engine.GameEntity.CreateFromWeakEntity ( WeakGameEntity weakEntity)
static

◆ GetScenePointer()

UIntPtr TaleWorlds.Engine.GameEntity.GetScenePointer ( )

◆ ToString()

override string TaleWorlds.Engine.GameEntity.ToString ( )

◆ ClearEntityComponents()

void TaleWorlds.Engine.GameEntity.ClearEntityComponents ( bool resetAll,
bool removeScripts,
bool deleteChildEntities )

◆ ClearComponents()

void TaleWorlds.Engine.GameEntity.ClearComponents ( )

◆ ClearOnlyOwnComponents()

void TaleWorlds.Engine.GameEntity.ClearOnlyOwnComponents ( )

◆ CheckResources()

bool TaleWorlds.Engine.GameEntity.CheckResources ( bool addToQueue,
bool checkFaceResources )

◆ SetMobility()

void TaleWorlds.Engine.GameEntity.SetMobility ( Mobility mobility)

◆ GetMobility()

Mobility TaleWorlds.Engine.GameEntity.GetMobility ( )

◆ AddMesh()

void TaleWorlds.Engine.GameEntity.AddMesh ( Mesh mesh,
bool recomputeBoundingBox = true )

◆ AddMultiMeshToSkeleton()

void TaleWorlds.Engine.GameEntity.AddMultiMeshToSkeleton ( MetaMesh metaMesh)

◆ AddMultiMeshToSkeletonBone()

void TaleWorlds.Engine.GameEntity.AddMultiMeshToSkeletonBone ( MetaMesh metaMesh,
sbyte boneIndex )

◆ SetColorToAllMeshesWithTagRecursive()

void TaleWorlds.Engine.GameEntity.SetColorToAllMeshesWithTagRecursive ( uint color,
string tag )

◆ GetAllMeshesWithTag()

IEnumerable< Mesh > TaleWorlds.Engine.GameEntity.GetAllMeshesWithTag ( string tag)

◆ SetColor()

void TaleWorlds.Engine.GameEntity.SetColor ( uint color1,
uint color2,
string meshTag )

◆ GetFactorColor()

uint TaleWorlds.Engine.GameEntity.GetFactorColor ( )

◆ SetFactorColor()

void TaleWorlds.Engine.GameEntity.SetFactorColor ( uint color)

◆ SetAsReplayEntity()

void TaleWorlds.Engine.GameEntity.SetAsReplayEntity ( )

◆ SetClothMaxDistanceMultiplier()

void TaleWorlds.Engine.GameEntity.SetClothMaxDistanceMultiplier ( float multiplier)

◆ RemoveMultiMeshFromSkeleton()

void TaleWorlds.Engine.GameEntity.RemoveMultiMeshFromSkeleton ( MetaMesh metaMesh)

◆ RemoveMultiMeshFromSkeletonBone()

void TaleWorlds.Engine.GameEntity.RemoveMultiMeshFromSkeletonBone ( MetaMesh metaMesh,
sbyte boneIndex )

◆ RemoveComponentWithMesh()

bool TaleWorlds.Engine.GameEntity.RemoveComponentWithMesh ( Mesh mesh)

◆ AddComponent()

void TaleWorlds.Engine.GameEntity.AddComponent ( GameEntityComponent component)

◆ HasComponent()

bool TaleWorlds.Engine.GameEntity.HasComponent ( GameEntityComponent component)

◆ IsInEditorScene()

bool TaleWorlds.Engine.GameEntity.IsInEditorScene ( )

◆ RemoveComponent()

bool TaleWorlds.Engine.GameEntity.RemoveComponent ( GameEntityComponent component)

◆ GetGuid()

string TaleWorlds.Engine.GameEntity.GetGuid ( )

◆ IsGuidValid()

bool TaleWorlds.Engine.GameEntity.IsGuidValid ( )

◆ SetEnforcedMaximumLodLevel()

void TaleWorlds.Engine.GameEntity.SetEnforcedMaximumLodLevel ( int lodLevel)

◆ GetLodLevelForDistanceSq()

float TaleWorlds.Engine.GameEntity.GetLodLevelForDistanceSq ( float distSq)

◆ GetQuickBoneEntitialFrame()

void TaleWorlds.Engine.GameEntity.GetQuickBoneEntitialFrame ( sbyte index,
out MatrixFrame frame )

◆ UpdateVisibilityMask()

void TaleWorlds.Engine.GameEntity.UpdateVisibilityMask ( )

◆ CreateEmpty()

static GameEntity TaleWorlds.Engine.GameEntity.CreateEmpty ( Scene scene,
bool isModifiableFromEditor = true,
bool createPhysics = true,
bool callScriptCallbacks = true )
static

◆ CreateEmptyDynamic()

static GameEntity TaleWorlds.Engine.GameEntity.CreateEmptyDynamic ( Scene scene,
bool isModifiableFromEditor = true )
static

◆ CreateEmptyWithoutScene()

static GameEntity TaleWorlds.Engine.GameEntity.CreateEmptyWithoutScene ( )
static

◆ CopyFrom() [1/2]

static GameEntity TaleWorlds.Engine.GameEntity.CopyFrom ( Scene scene,
GameEntity entity,
bool createPhysics = true,
bool callScriptCallbacks = true )
static

◆ CopyFrom() [2/2]

static GameEntity TaleWorlds.Engine.GameEntity.CopyFrom ( Scene scene,
WeakGameEntity entity,
bool createPhysics = true,
bool callScriptCallbacks = true )
static

◆ Instantiate() [1/2]

static GameEntity TaleWorlds.Engine.GameEntity.Instantiate ( Scene scene,
string prefabName,
bool callScriptCallbacks,
bool createPhysics = true,
string scriptInclusingTag = "" )
static
Parameters
prefabNameName of the prefab
Returns
The newly created Game Entity

◆ CallScriptCallbacks()

void TaleWorlds.Engine.GameEntity.CallScriptCallbacks ( bool registerScriptComponents)

◆ Instantiate() [2/2]

static GameEntity TaleWorlds.Engine.GameEntity.Instantiate ( Scene scene,
string prefabName,
MatrixFrame frame,
bool callScriptCallbacks = true,
string scriptInclusingTag = "" )
static
Parameters
prefabNameName of the prefab
frameInitial frame of created entity
Returns
The newly created Game Entity

◆ IsGhostObject()

bool TaleWorlds.Engine.GameEntity.IsGhostObject ( )

◆ CreateAndAddScriptComponent()

void TaleWorlds.Engine.GameEntity.CreateAndAddScriptComponent ( string name,
bool callScriptCallbacks )

◆ PrefabExists()

static bool TaleWorlds.Engine.GameEntity.PrefabExists ( string name)
static

◆ RemoveScriptComponent()

void TaleWorlds.Engine.GameEntity.RemoveScriptComponent ( UIntPtr scriptComponent,
int removeReason )

◆ SetEntityEnvMapVisibility()

void TaleWorlds.Engine.GameEntity.SetEntityEnvMapVisibility ( bool value)

◆ HasScene()

bool TaleWorlds.Engine.GameEntity.HasScene ( )

◆ HasScriptComponent()

bool TaleWorlds.Engine.GameEntity.HasScriptComponent ( string scName)

◆ GetScriptComponents()

IEnumerable< ScriptComponentBehavior > TaleWorlds.Engine.GameEntity.GetScriptComponents ( )

◆ GetScriptComponents< T >()

Type Constraints
T :ScriptComponentBehavior 

◆ HasScriptOfType< T >()

Type Constraints
T :ScriptComponentBehavior 

◆ GetFirstChildEntityWithTag()

GameEntity TaleWorlds.Engine.GameEntity.GetFirstChildEntityWithTag ( string tag)

◆ HasScriptOfType()

bool TaleWorlds.Engine.GameEntity.HasScriptOfType ( Type t)

◆ GetFirstScriptOfTypeInFamily< T >()

T TaleWorlds.Engine.GameEntity.GetFirstScriptOfTypeInFamily< T > ( )
Type Constraints
T :ScriptComponentBehavior 

◆ GetFirstScriptOfType< T >()

T TaleWorlds.Engine.GameEntity.GetFirstScriptOfType< T > ( )
Type Constraints
T :ScriptComponentBehavior 

◆ GetFirstScriptOfTypeRecursive< T >()

T TaleWorlds.Engine.GameEntity.GetFirstScriptOfTypeRecursive< T > ( )
Type Constraints
T :ScriptComponentBehavior 

◆ GetScriptCountOfTypeRecursive< T >()

int TaleWorlds.Engine.GameEntity.GetScriptCountOfTypeRecursive< T > ( )
Type Constraints
T :ScriptComponentBehavior 

◆ SetAlpha()

void TaleWorlds.Engine.GameEntity.SetAlpha ( float alpha)

◆ SetVisibilityExcludeParents()

void TaleWorlds.Engine.GameEntity.SetVisibilityExcludeParents ( bool visible)

◆ SetReadyToRender()

void TaleWorlds.Engine.GameEntity.SetReadyToRender ( bool ready)

◆ GetVisibilityExcludeParents()

bool TaleWorlds.Engine.GameEntity.GetVisibilityExcludeParents ( )

◆ IsVisibleIncludeParents()

bool TaleWorlds.Engine.GameEntity.IsVisibleIncludeParents ( )

◆ GetVisibilityLevelMaskIncludingParents()

UInt32 TaleWorlds.Engine.GameEntity.GetVisibilityLevelMaskIncludingParents ( )

◆ GetEditModeLevelVisibility()

bool TaleWorlds.Engine.GameEntity.GetEditModeLevelVisibility ( )

◆ Remove()

void TaleWorlds.Engine.GameEntity.Remove ( int removeReason)

◆ CopyFromPrefab() [1/2]

static GameEntity TaleWorlds.Engine.GameEntity.CopyFromPrefab ( GameEntity prefab)
static

◆ CopyFromPrefab() [2/2]

static GameEntity TaleWorlds.Engine.GameEntity.CopyFromPrefab ( WeakGameEntity prefab)
static

◆ SetUpgradeLevelMask()

void TaleWorlds.Engine.GameEntity.SetUpgradeLevelMask ( UpgradeLevelMask mask)

◆ GetUpgradeLevelMask()

UpgradeLevelMask TaleWorlds.Engine.GameEntity.GetUpgradeLevelMask ( )

◆ GetUpgradeLevelMaskCumulative()

UpgradeLevelMask TaleWorlds.Engine.GameEntity.GetUpgradeLevelMaskCumulative ( )

◆ GetUpgradeLevelOfEntity()

int TaleWorlds.Engine.GameEntity.GetUpgradeLevelOfEntity ( )

◆ GetOldPrefabName()

string TaleWorlds.Engine.GameEntity.GetOldPrefabName ( )

◆ GetPrefabName()

string TaleWorlds.Engine.GameEntity.GetPrefabName ( )

◆ CopyScriptComponentFromAnotherEntity()

void TaleWorlds.Engine.GameEntity.CopyScriptComponentFromAnotherEntity ( GameEntity otherEntity,
string scriptName )

◆ SetFrame()

void TaleWorlds.Engine.GameEntity.SetFrame ( ref MatrixFrame frame,
bool isTeleportation = true )

◆ SetLocalFrame()

void TaleWorlds.Engine.GameEntity.SetLocalFrame ( ref MatrixFrame frame,
bool isTeleportation )

◆ SetClothComponentKeepState()

void TaleWorlds.Engine.GameEntity.SetClothComponentKeepState ( MetaMesh metaMesh,
bool state )

◆ SetClothComponentKeepStateOfAllMeshes()

void TaleWorlds.Engine.GameEntity.SetClothComponentKeepStateOfAllMeshes ( bool state)

◆ SetPreviousFrameInvalid()

void TaleWorlds.Engine.GameEntity.SetPreviousFrameInvalid ( )

◆ GetFrame()

MatrixFrame TaleWorlds.Engine.GameEntity.GetFrame ( )

◆ GetLocalFrame() [1/2]

void TaleWorlds.Engine.GameEntity.GetLocalFrame ( out MatrixFrame frame)

◆ GetLocalFrame() [2/2]

MatrixFrame TaleWorlds.Engine.GameEntity.GetLocalFrame ( )

◆ GetGlobalFrame()

MatrixFrame TaleWorlds.Engine.GameEntity.GetGlobalFrame ( )

◆ GetGlobalFrameImpreciseForFixedTick()

MatrixFrame TaleWorlds.Engine.GameEntity.GetGlobalFrameImpreciseForFixedTick ( )

◆ ComputePreciseGlobalFrameForFixedTickSlow()

MatrixFrame TaleWorlds.Engine.GameEntity.ComputePreciseGlobalFrameForFixedTickSlow ( )

◆ SetGlobalFrame()

void TaleWorlds.Engine.GameEntity.SetGlobalFrame ( in MatrixFrame frame,
bool isTeleportation = true )

◆ GetPreviousGlobalFrame()

MatrixFrame TaleWorlds.Engine.GameEntity.GetPreviousGlobalFrame ( )

◆ GetBodyWorldTransform()

MatrixFrame TaleWorlds.Engine.GameEntity.GetBodyWorldTransform ( )

◆ GetBodyVisualWorldTransform()

MatrixFrame TaleWorlds.Engine.GameEntity.GetBodyVisualWorldTransform ( )

◆ SetLocalPosition()

void TaleWorlds.Engine.GameEntity.SetLocalPosition ( Vec3 position)

◆ UpdateTriadFrameForEditor()

void TaleWorlds.Engine.GameEntity.UpdateTriadFrameForEditor ( )

◆ UpdateTriadFrameForEditorForAllChildren()

void TaleWorlds.Engine.GameEntity.UpdateTriadFrameForEditorForAllChildren ( )

◆ GetPhysicsMaterial()

PhysicsMaterial TaleWorlds.Engine.GameEntity.GetPhysicsMaterial ( )

◆ SetBodyFlags()

void TaleWorlds.Engine.GameEntity.SetBodyFlags ( BodyFlags bodyFlags)

◆ SetBodyFlagsRecursive()

void TaleWorlds.Engine.GameEntity.SetBodyFlagsRecursive ( BodyFlags bodyFlags)

◆ AddBodyFlags()

void TaleWorlds.Engine.GameEntity.AddBodyFlags ( BodyFlags bodyFlags,
bool applyToChildren = true )

◆ RemoveBodyFlags()

void TaleWorlds.Engine.GameEntity.RemoveBodyFlags ( BodyFlags bodyFlags,
bool applyToChildren = true )

◆ GetGlobalScale()

Vec3 TaleWorlds.Engine.GameEntity.GetGlobalScale ( )

◆ GetLocalScale()

Vec3 TaleWorlds.Engine.GameEntity.GetLocalScale ( )

◆ SetAnimationSoundActivation()

void TaleWorlds.Engine.GameEntity.SetAnimationSoundActivation ( bool activate)

◆ CopyComponentsToSkeleton()

void TaleWorlds.Engine.GameEntity.CopyComponentsToSkeleton ( )

◆ AddMeshToBone()

void TaleWorlds.Engine.GameEntity.AddMeshToBone ( sbyte boneIndex,
Mesh mesh )

◆ ActivateRagdoll()

void TaleWorlds.Engine.GameEntity.ActivateRagdoll ( )

◆ PauseSkeletonAnimation()

void TaleWorlds.Engine.GameEntity.PauseSkeletonAnimation ( )

◆ ResumeSkeletonAnimation()

void TaleWorlds.Engine.GameEntity.ResumeSkeletonAnimation ( )

◆ IsSkeletonAnimationPaused()

bool TaleWorlds.Engine.GameEntity.IsSkeletonAnimationPaused ( )

◆ GetBoneCount()

sbyte TaleWorlds.Engine.GameEntity.GetBoneCount ( )

◆ GetWaterLevelAtPosition()

float TaleWorlds.Engine.GameEntity.GetWaterLevelAtPosition ( Vec2 position,
bool useWaterRenderer,
bool checkWaterBodyEntities )

◆ GetBoneEntitialFrameWithIndex()

MatrixFrame TaleWorlds.Engine.GameEntity.GetBoneEntitialFrameWithIndex ( sbyte boneIndex)

◆ GetBoneEntitialFrameWithName()

MatrixFrame TaleWorlds.Engine.GameEntity.GetBoneEntitialFrameWithName ( string boneName)

◆ AddTag()

void TaleWorlds.Engine.GameEntity.AddTag ( string tag)

◆ RemoveTag()

void TaleWorlds.Engine.GameEntity.RemoveTag ( string tag)

◆ HasTag()

bool TaleWorlds.Engine.GameEntity.HasTag ( string tag)

◆ AddChild()

void TaleWorlds.Engine.GameEntity.AddChild ( GameEntity gameEntity,
bool autoLocalizeFrame = false )
Parameters
GameEntityThe entity to be added.

◆ RemoveChild()

void TaleWorlds.Engine.GameEntity.RemoveChild ( GameEntity childEntity,
bool keepPhysics,
bool keepScenePointer,
bool callScriptCallbacks,
int removeReason )

◆ BreakPrefab()

void TaleWorlds.Engine.GameEntity.BreakPrefab ( )

◆ GetChild()

GameEntity TaleWorlds.Engine.GameEntity.GetChild ( int index)

◆ HasComplexAnimTree()

bool TaleWorlds.Engine.GameEntity.HasComplexAnimTree ( )

◆ AddMultiMesh()

void TaleWorlds.Engine.GameEntity.AddMultiMesh ( MetaMesh metaMesh,
bool updateVisMask = true )

◆ RemoveMultiMesh()

bool TaleWorlds.Engine.GameEntity.RemoveMultiMesh ( MetaMesh metaMesh)

◆ GetComponentCount()

int TaleWorlds.Engine.GameEntity.GetComponentCount ( ComponentType componentType)

◆ AddAllMeshesOfGameEntity()

void TaleWorlds.Engine.GameEntity.AddAllMeshesOfGameEntity ( GameEntity gameEntity)

◆ SetFrameChanged()

void TaleWorlds.Engine.GameEntity.SetFrameChanged ( )

◆ GetComponentAtIndex()

GameEntityComponent TaleWorlds.Engine.GameEntity.GetComponentAtIndex ( int index,
ComponentType componentType )

◆ GetMetaMesh()

MetaMesh TaleWorlds.Engine.GameEntity.GetMetaMesh ( int metaMeshIndex)

◆ GetClothSimulator()

ClothSimulatorComponent TaleWorlds.Engine.GameEntity.GetClothSimulator ( int clothSimulatorIndex)

◆ SetVectorArgument()

void TaleWorlds.Engine.GameEntity.SetVectorArgument ( float vectorArgument0,
float vectorArgument1,
float vectorArgument2,
float vectorArgument3 )

◆ SetMaterialForAllMeshes()

void TaleWorlds.Engine.GameEntity.SetMaterialForAllMeshes ( Material material)

◆ AddLight()

bool TaleWorlds.Engine.GameEntity.AddLight ( Light light)

◆ GetLight()

Light TaleWorlds.Engine.GameEntity.GetLight ( )

◆ AddParticleSystemComponent()

void TaleWorlds.Engine.GameEntity.AddParticleSystemComponent ( string particleid)

◆ RemoveAllParticleSystems()

void TaleWorlds.Engine.GameEntity.RemoveAllParticleSystems ( )

◆ CheckPointWithOrientedBoundingBox()

bool TaleWorlds.Engine.GameEntity.CheckPointWithOrientedBoundingBox ( Vec3 point)

◆ PauseParticleSystem()

void TaleWorlds.Engine.GameEntity.PauseParticleSystem ( bool doChildren)

◆ ResumeParticleSystem()

void TaleWorlds.Engine.GameEntity.ResumeParticleSystem ( bool doChildren)

◆ BurstEntityParticle()

void TaleWorlds.Engine.GameEntity.BurstEntityParticle ( bool doChildren)

◆ SetRuntimeEmissionRateMultiplier()

void TaleWorlds.Engine.GameEntity.SetRuntimeEmissionRateMultiplier ( float emissionRateMultiplier)

◆ GetLocalBoundingBox()

BoundingBox TaleWorlds.Engine.GameEntity.GetLocalBoundingBox ( )

◆ GetGlobalBoundingBox()

BoundingBox TaleWorlds.Engine.GameEntity.GetGlobalBoundingBox ( )

◆ GetBoundingBoxMin()

Vec3 TaleWorlds.Engine.GameEntity.GetBoundingBoxMin ( )

◆ SetHasCustomBoundingBoxValidationSystem()

void TaleWorlds.Engine.GameEntity.SetHasCustomBoundingBoxValidationSystem ( bool hasCustomBoundingBox)

◆ ValidateBoundingBox()

void TaleWorlds.Engine.GameEntity.ValidateBoundingBox ( )

◆ GetBoundingBoxMax()

Vec3 TaleWorlds.Engine.GameEntity.GetBoundingBoxMax ( )

◆ UpdateGlobalBounds()

void TaleWorlds.Engine.GameEntity.UpdateGlobalBounds ( )

◆ RecomputeBoundingBox()

void TaleWorlds.Engine.GameEntity.RecomputeBoundingBox ( )

◆ GetBoundingBoxRadius()

float TaleWorlds.Engine.GameEntity.GetBoundingBoxRadius ( )

◆ SetBoundingboxDirty()

void TaleWorlds.Engine.GameEntity.SetBoundingboxDirty ( )

◆ ComputeGlobalPhysicsBoundingBoxMinMax()

Vec3 TaleWorlds.Engine.GameEntity.ComputeGlobalPhysicsBoundingBoxMinMax ( )

◆ SetContourColor()

void TaleWorlds.Engine.GameEntity.SetContourColor ( uint? color,
bool alwaysVisible = true )

◆ GetHasFrameChanged()

bool TaleWorlds.Engine.GameEntity.GetHasFrameChanged ( )

◆ GetFirstMesh()

Mesh TaleWorlds.Engine.GameEntity.GetFirstMesh ( )

◆ GetAttachedNavmeshFaceCount()

int TaleWorlds.Engine.GameEntity.GetAttachedNavmeshFaceCount ( )

◆ GetAttachedNavmeshFaceRecords()

void TaleWorlds.Engine.GameEntity.GetAttachedNavmeshFaceRecords ( PathFaceRecord[] faceRecords)

◆ SetExternalReferencesUsage()

void TaleWorlds.Engine.GameEntity.SetExternalReferencesUsage ( bool value)

◆ SetMorphFrameOfComponents()

void TaleWorlds.Engine.GameEntity.SetMorphFrameOfComponents ( float value)

◆ AddEditDataUserToAllMeshes()

void TaleWorlds.Engine.GameEntity.AddEditDataUserToAllMeshes ( bool entityComponents,
bool skeletonComponents )

◆ ReleaseEditDataUserToAllMeshes()

void TaleWorlds.Engine.GameEntity.ReleaseEditDataUserToAllMeshes ( bool entityComponents,
bool skeletonComponents )

◆ GetCameraParamsFromCameraScript()

void TaleWorlds.Engine.GameEntity.GetCameraParamsFromCameraScript ( Camera cam,
ref Vec3 dofParams )

◆ GetMeshBendedFrame()

void TaleWorlds.Engine.GameEntity.GetMeshBendedFrame ( MatrixFrame worldSpacePosition,
ref MatrixFrame output )

◆ ComputeTrajectoryVolume()

void TaleWorlds.Engine.GameEntity.ComputeTrajectoryVolume ( float missileSpeed,
float verticalAngleMaxInDegrees,
float verticalAngleMinInDegrees,
float horizontalAngleRangeInDegrees,
float airFrictionConstant )

◆ SetAnimTreeChannelParameterForceUpdate()

void TaleWorlds.Engine.GameEntity.SetAnimTreeChannelParameterForceUpdate ( float phase,
int channelNo )

◆ ChangeMetaMeshOrRemoveItIfNotExists()

void TaleWorlds.Engine.GameEntity.ChangeMetaMeshOrRemoveItIfNotExists ( MetaMesh entityMetaMesh,
MetaMesh newMetaMesh )

◆ SetUpdateValidtyOnFrameChangedOfFacesWithId()

void TaleWorlds.Engine.GameEntity.SetUpdateValidtyOnFrameChangedOfFacesWithId ( int faceGroupId,
bool updateValidity )

◆ AttachNavigationMeshFaces()

void TaleWorlds.Engine.GameEntity.AttachNavigationMeshFaces ( int faceGroupId,
bool isConnected,
bool isBlocker = false,
bool autoLocalize = false,
bool finalizeBlockerConvexHullComputation = false,
bool updateEntityFrame = true )

◆ DetachAllAttachedNavigationMeshFaces()

void TaleWorlds.Engine.GameEntity.DetachAllAttachedNavigationMeshFaces ( )

◆ UpdateAttachedNavigationMeshFaces()

void TaleWorlds.Engine.GameEntity.UpdateAttachedNavigationMeshFaces ( )

◆ RemoveSkeleton()

void TaleWorlds.Engine.GameEntity.RemoveSkeleton ( )

◆ RemoveAllChildren()

void TaleWorlds.Engine.GameEntity.RemoveAllChildren ( )

◆ GetChildren()

IEnumerable< GameEntity > TaleWorlds.Engine.GameEntity.GetChildren ( )

◆ GetEntityAndChildren()

IEnumerable< GameEntity > TaleWorlds.Engine.GameEntity.GetEntityAndChildren ( )

◆ GetChildrenRecursive()

void TaleWorlds.Engine.GameEntity.GetChildrenRecursive ( ref List< GameEntity > children)

◆ GetChildrenWithTagRecursive()

void TaleWorlds.Engine.GameEntity.GetChildrenWithTagRecursive ( List< GameEntity > children,
string tag )

◆ IsSelectedOnEditor()

bool TaleWorlds.Engine.GameEntity.IsSelectedOnEditor ( )

◆ SelectEntityOnEditor()

void TaleWorlds.Engine.GameEntity.SelectEntityOnEditor ( )

◆ DeselectEntityOnEditor()

void TaleWorlds.Engine.GameEntity.DeselectEntityOnEditor ( )

◆ SetAsPredisplayEntity()

void TaleWorlds.Engine.GameEntity.SetAsPredisplayEntity ( )

◆ RemoveFromPredisplayEntity()

void TaleWorlds.Engine.GameEntity.RemoveFromPredisplayEntity ( )

◆ SetNativeScriptComponentVariable()

void TaleWorlds.Engine.GameEntity.SetNativeScriptComponentVariable ( string className,
string fieldName,
ref ScriptComponentFieldHolder data,
RglScriptFieldType variableType )

◆ SetManualGlobalBoundingBox()

void TaleWorlds.Engine.GameEntity.SetManualGlobalBoundingBox ( Vec3 boundingBoxStartGlobal,
Vec3 boundingBoxEndGlobal )

◆ RayHitEntity()

bool TaleWorlds.Engine.GameEntity.RayHitEntity ( Vec3 rayOrigin,
Vec3 rayDirection,
float maxLength,
ref float resultLength )

◆ RayHitEntityWithNormal()

bool TaleWorlds.Engine.GameEntity.RayHitEntityWithNormal ( Vec3 rayOrigin,
Vec3 rayDirection,
float maxLength,
ref Vec3 resultNormal,
ref float resultLength )

◆ GetNativeScriptComponentVariable()

void TaleWorlds.Engine.GameEntity.GetNativeScriptComponentVariable ( string className,
string fieldName,
ref ScriptComponentFieldHolder data,
RglScriptFieldType variableType )

◆ SetCustomClipPlane()

void TaleWorlds.Engine.GameEntity.SetCustomClipPlane ( Vec3 clipPosition,
Vec3 clipNormal,
bool setForChildren )

◆ GetBoundingBoxLongestHalfDimension()

float TaleWorlds.Engine.GameEntity.GetBoundingBoxLongestHalfDimension ( )

◆ ComputeBoundingBoxFromLongestHalfDimension()

BoundingBox TaleWorlds.Engine.GameEntity.ComputeBoundingBoxFromLongestHalfDimension ( float longestHalfDimensionCoefficient)

◆ ComputeBoundingBoxIncludeChildren()

BoundingBox TaleWorlds.Engine.GameEntity.ComputeBoundingBoxIncludeChildren ( )

◆ SetManualLocalBoundingBox()

void TaleWorlds.Engine.GameEntity.SetManualLocalBoundingBox ( in BoundingBox boundingBox)

◆ RelaxLocalBoundingBox()

void TaleWorlds.Engine.GameEntity.RelaxLocalBoundingBox ( in BoundingBox boundingBox)

◆ SetCullMode()

void TaleWorlds.Engine.GameEntity.SetCullMode ( MBMeshCullingMode cullMode)

◆ GetFirstChildEntityWithTagRecursive()

GameEntity TaleWorlds.Engine.GameEntity.GetFirstChildEntityWithTagRecursive ( string tag)

◆ Equals()

override bool TaleWorlds.Engine.GameEntity.Equals ( object obj)

◆ GetHashCode()

override int TaleWorlds.Engine.GameEntity.GetHashCode ( )

◆ operator==() [1/2]

static bool TaleWorlds.Engine.GameEntity.operator== ( GameEntity gameEntity,
WeakGameEntity weakGameEntity )
static

◆ operator!=() [1/2]

static bool TaleWorlds.Engine.GameEntity.operator!= ( GameEntity gameEntity,
WeakGameEntity weakGameEntity )
static

◆ SetDoNotCheckVisibility()

void TaleWorlds.Engine.GameEntity.SetDoNotCheckVisibility ( bool value)

◆ operator!=() [2/2]

static bool TaleWorlds.Engine.GameEntity.operator!= ( GameEntity gameEntity1,
GameEntity gameEntity2 )
static

◆ operator==() [2/2]

static bool TaleWorlds.Engine.GameEntity.operator== ( GameEntity gameEntity1,
GameEntity gameEntity2 )
static

◆ SetBoneFrameToAllMeshes()

void TaleWorlds.Engine.GameEntity.SetBoneFrameToAllMeshes ( int boneIndex,
in MatrixFrame frame )

◆ GetGlobalWindStrengthVectorOfScene()

Vec2 TaleWorlds.Engine.GameEntity.GetGlobalWindStrengthVectorOfScene ( )

◆ GetGlobalWindVelocityOfScene()

Vec2 TaleWorlds.Engine.GameEntity.GetGlobalWindVelocityOfScene ( )

◆ GetLastFinalRenderCameraPositionOfScene()

Vec3 TaleWorlds.Engine.GameEntity.GetLastFinalRenderCameraPositionOfScene ( )

◆ SetForceDecalsToRender()

void TaleWorlds.Engine.GameEntity.SetForceDecalsToRender ( bool value)

◆ SetForceNotAffectedBySeason()

void TaleWorlds.Engine.GameEntity.SetForceNotAffectedBySeason ( bool value)

◆ CheckIsPrefabLinkRootPrefab()

bool TaleWorlds.Engine.GameEntity.CheckIsPrefabLinkRootPrefab ( int depth)

◆ SetupAdditionalBoneBufferForMeshes()

void TaleWorlds.Engine.GameEntity.SetupAdditionalBoneBufferForMeshes ( int boneCount)

◆ CreatePhysxCookingInstance()

static UIntPtr TaleWorlds.Engine.GameEntity.CreatePhysxCookingInstance ( )
static

◆ DeletePhysxCookingInstance()

static void TaleWorlds.Engine.GameEntity.DeletePhysxCookingInstance ( UIntPtr pointer)
static

◆ DeleteEmptyShape()

void TaleWorlds.Engine.GameEntity.DeleteEmptyShape ( UIntPtr shape1,
UIntPtr shape2 )

◆ CreateEmptyPhysxShape()

UIntPtr TaleWorlds.Engine.GameEntity.CreateEmptyPhysxShape ( bool isVariable,
int physxMaterialIndex )

◆ SwapPhysxShapeInEntity()

void TaleWorlds.Engine.GameEntity.SwapPhysxShapeInEntity ( UIntPtr oldShape,
UIntPtr newShape,
bool isVariable )

◆ CookTrianglePhysxMesh()

static void TaleWorlds.Engine.GameEntity.CookTrianglePhysxMesh ( UIntPtr cookingInstancePointer,
UIntPtr shapePointer,
UIntPtr quadPinnedPointer,
int physicsMaterial,
int numberOfVertices,
UIntPtr indicesPinnedPointer,
int numberOfIndices )
static

Member Data Documentation

◆ Vec3

TaleWorlds.Engine.GameEntity.Vec3

Property Documentation

◆ Scene

Scene TaleWorlds.Engine.GameEntity.Scene
get

◆ WeakEntity

WeakGameEntity TaleWorlds.Engine.GameEntity.WeakEntity
get

◆ Name

string TaleWorlds.Engine.GameEntity.Name
getset

◆ EntityFlags

EntityFlags TaleWorlds.Engine.GameEntity.EntityFlags
getset

◆ EntityVisibilityFlags

EntityVisibilityFlags TaleWorlds.Engine.GameEntity.EntityVisibilityFlags
getset

◆ BodyFlag

BodyFlags TaleWorlds.Engine.GameEntity.BodyFlag
getset

◆ PhysicsDescBodyFlag

BodyFlags TaleWorlds.Engine.GameEntity.PhysicsDescBodyFlag
get

◆ Mass

float TaleWorlds.Engine.GameEntity.Mass
get

◆ CenterOfMass

Vec3 TaleWorlds.Engine.GameEntity.CenterOfMass
get

◆ GlobalPosition

Vec3 TaleWorlds.Engine.GameEntity.GlobalPosition
get

◆ Tags

string [] TaleWorlds.Engine.GameEntity.Tags
get
See also
AddTag, HasTag

◆ ChildCount

int TaleWorlds.Engine.GameEntity.ChildCount
get

◆ Parent

GameEntity TaleWorlds.Engine.GameEntity.Parent
get

◆ Root

GameEntity TaleWorlds.Engine.GameEntity.Root
get

◆ MultiMeshComponentCount

int TaleWorlds.Engine.GameEntity.MultiMeshComponentCount
get

◆ ClothSimulatorComponentCount

int TaleWorlds.Engine.GameEntity.ClothSimulatorComponentCount
get

◆ GlobalBoxMax

Vec3 TaleWorlds.Engine.GameEntity.GlobalBoxMax
get

◆ GlobalBoxMin

Vec3 TaleWorlds.Engine.GameEntity.GlobalBoxMin
get

◆ Skeleton

Skeleton TaleWorlds.Engine.GameEntity.Skeleton
getset