Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ComponentCreatureModelabstract
类 Game.ComponentCreatureModel 继承关系图:
Game.ComponentCreatureModel 的协作图:

Public 成员函数

override void Animate ()
void AnimateCreature ()
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
override void OnEntityAdded ()
virtual void Update (float dt)
virtual Vector3 CalculateEyePosition ()
virtual Quaternion CalculateEyeRotation ()
Public 成员函数 继承自 Game.ComponentModel
virtual ? Matrix GetBoneTransform (int boneIndex)
virtual void SetBoneTransform (int boneIndex, Matrix? transformation)
virtual void CalculateAbsoluteBonesTransforms (Camera camera)
virtual void CalculateIsVisible (Camera camera)
virtual void DrawExtras (Camera camera)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual void SetModel (Model model)
virtual void ProcessBoneHierarchy (ModelBone modelBone, Matrix currentTransform, Matrix[] transforms)
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
virtual void OnEntityRemoved ()
virtual void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
virtual void Dispose ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemTime m_subsystemTime
SubsystemGameInfo m_subsystemGameInfo
ComponentCreature m_componentCreature
Vector3m_eyePosition
Quaternionm_eyeRotation
float m_injuryColorFactor
Vector3 m_randomLookPoint
Random m_random = new()
Public 属性 继承自 Game.ComponentModel
SubsystemSky m_subsystemSky
bool IsSet
bool Animated
bool IsExtrasDrawn
ComponentFrame m_componentFrame
Model m_model
Matrix?[] m_boneTransforms
float m_boundingSphereRadius
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

属性

float Bob [get, set]
float MovementAnimationPhase [get, set]
float DeathPhase [get, set]
Vector3 DeathCauseOffset [get, set]
Vector3LookAtOrder [get, set]
bool LookRandomOrder [get, set]
float HeadShakeOrder [get, set]
bool AttackOrder [get, set]
bool FeedOrder [get, set]
bool RowLeftOrder [get, set]
bool RowRightOrder [get, set]
float AimHandAngleOrder [get, set]
Vector3 InHandItemOffsetOrder [get, set]
Vector3 InHandItemRotationOrder [get, set]
bool IsAttackHitMoment [get, set]
virtual float AttackPhase [get, set]
virtual float AttackFactor [get, set]
Vector3 EyePosition [get]
Quaternion EyeRotation [get]
UpdateOrder UpdateOrder [get]
属性 继承自 Game.ComponentModel
Vector3 ModelOffset [get, set]
 模型偏移
float Transparent [get, set]
 模型透明度
float ModelScale [get, set]
 模型大小缩放
string TextureRoute [get, set]
 纹理路径
string ModelRoute [get, set]
 模型路径
float? Opacity [get, set]
Vector3DiffuseColor [get, set]
Vector4EmissionColor [get, set]
Model Model [get, set]
Texture2D TextureOverride [get, set]
virtual Func< bool > OnAnimate [get, set]
bool CastsShadow [get, set]
int PrepareOrder [get, set]
virtual ModelRenderingMode RenderingMode [get, set]
int[] MeshDrawOrders [get, set]
bool IsVisibleForCamera [get, set]
Matrix[] AbsoluteBoneTransformsForCamera [get, set]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

包函数 继承自 GameEntitySystem.Component
void DisposeInternal ()

详细描述

在文件 ComponentCreatureModel.cs6 行定义.

成员函数说明

◆ Animate()

override void Game.ComponentCreatureModel.Animate ( )
virtual

重载 Game.ComponentModel .

在文件 ComponentCreatureModel.cs85 行定义.

函数调用图:

◆ AnimateCreature()

void Game.ComponentCreatureModel.AnimateCreature ( )
abstract
这是这个函数的调用关系图:

◆ CalculateEyePosition()

virtual Vector3 Game.ComponentCreatureModel.CalculateEyePosition ( )
virtual

Game.ComponentFishModel , 以及 Game.ComponentHumanModel 重载.

在文件 ComponentCreatureModel.cs198 行定义.

函数调用图:

◆ CalculateEyeRotation()

virtual Quaternion Game.ComponentCreatureModel.CalculateEyeRotation ( )
virtual

Game.ComponentHumanModel 重载.

在文件 ComponentCreatureModel.cs213 行定义.

函数调用图:

◆ Load()

override void Game.ComponentCreatureModel.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )
virtual

◆ OnEntityAdded()

override void Game.ComponentCreatureModel.OnEntityAdded ( )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentCreatureModel.cs152 行定义.

◆ Update()

virtual void Game.ComponentCreatureModel.Update ( float dt)
virtual

类成员变量说明

◆ m_componentCreature

ComponentCreature Game.ComponentCreatureModel.m_componentCreature

在文件 ComponentCreatureModel.cs11 行定义.

◆ m_eyePosition

Vector3? Game.ComponentCreatureModel.m_eyePosition

在文件 ComponentCreatureModel.cs13 行定义.

◆ m_eyeRotation

Quaternion? Game.ComponentCreatureModel.m_eyeRotation

在文件 ComponentCreatureModel.cs15 行定义.

◆ m_injuryColorFactor

float Game.ComponentCreatureModel.m_injuryColorFactor

在文件 ComponentCreatureModel.cs17 行定义.

◆ m_random

Random Game.ComponentCreatureModel.m_random = new()

在文件 ComponentCreatureModel.cs21 行定义.

◆ m_randomLookPoint

Vector3 Game.ComponentCreatureModel.m_randomLookPoint

在文件 ComponentCreatureModel.cs19 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentCreatureModel.m_subsystemGameInfo

在文件 ComponentCreatureModel.cs9 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentCreatureModel.m_subsystemTime

在文件 ComponentCreatureModel.cs7 行定义.

属性说明

◆ AimHandAngleOrder

float Game.ComponentCreatureModel.AimHandAngleOrder
getset

在文件 ComponentCreatureModel.cs44 行定义.

◆ AttackFactor

virtual float Game.ComponentCreatureModel.AttackFactor
getset

在文件 ComponentCreatureModel.cs52 行定义.

◆ AttackOrder

bool Game.ComponentCreatureModel.AttackOrder
getset

在文件 ComponentCreatureModel.cs36 行定义.

◆ AttackPhase

virtual float Game.ComponentCreatureModel.AttackPhase
getset

在文件 ComponentCreatureModel.cs51 行定义.

◆ Bob

float Game.ComponentCreatureModel.Bob
getset

在文件 ComponentCreatureModel.cs22 行定义.

◆ DeathCauseOffset

Vector3 Game.ComponentCreatureModel.DeathCauseOffset
getset

在文件 ComponentCreatureModel.cs28 行定义.

◆ DeathPhase

float Game.ComponentCreatureModel.DeathPhase
getset

在文件 ComponentCreatureModel.cs26 行定义.

◆ EyePosition

Vector3 Game.ComponentCreatureModel.EyePosition
get

在文件 ComponentCreatureModel.cs54 行定义.

◆ EyeRotation

Quaternion Game.ComponentCreatureModel.EyeRotation
get

在文件 ComponentCreatureModel.cs63 行定义.

◆ FeedOrder

bool Game.ComponentCreatureModel.FeedOrder
getset

在文件 ComponentCreatureModel.cs38 行定义.

◆ HeadShakeOrder

float Game.ComponentCreatureModel.HeadShakeOrder
getset

在文件 ComponentCreatureModel.cs34 行定义.

◆ InHandItemOffsetOrder

Vector3 Game.ComponentCreatureModel.InHandItemOffsetOrder
getset

在文件 ComponentCreatureModel.cs46 行定义.

◆ InHandItemRotationOrder

Vector3 Game.ComponentCreatureModel.InHandItemRotationOrder
getset

在文件 ComponentCreatureModel.cs48 行定义.

◆ IsAttackHitMoment

bool Game.ComponentCreatureModel.IsAttackHitMoment
getset

在文件 ComponentCreatureModel.cs50 行定义.

◆ LookAtOrder

Vector3? Game.ComponentCreatureModel.LookAtOrder
getset

在文件 ComponentCreatureModel.cs30 行定义.

◆ LookRandomOrder

bool Game.ComponentCreatureModel.LookRandomOrder
getset

在文件 ComponentCreatureModel.cs32 行定义.

◆ MovementAnimationPhase

float Game.ComponentCreatureModel.MovementAnimationPhase
getset

在文件 ComponentCreatureModel.cs24 行定义.

◆ RowLeftOrder

bool Game.ComponentCreatureModel.RowLeftOrder
getset

在文件 ComponentCreatureModel.cs40 行定义.

◆ RowRightOrder

bool Game.ComponentCreatureModel.RowRightOrder
getset

在文件 ComponentCreatureModel.cs42 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentCreatureModel.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentCreatureModel.cs72 行定义.


该类的文档由以下文件生成: