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

Public 成员函数

override void Update (float dt)
override void AnimateCreature ()
override void DrawExtras (Camera camera)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
override void SetModel (Model model)
override Vector3 CalculateEyePosition ()
override Quaternion CalculateEyeRotation ()
Public 成员函数 继承自 Game.ComponentCreatureModel
override void Animate ()
void AnimateCreature ()
override void OnEntityAdded ()
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)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
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 属性

SubsystemTerrain m_subsystemTerrain
SubsystemModelsRenderer m_subsystemModelsRenderer
SubsystemNoise m_subsystemNoise
SubsystemAudio m_subsystemAudio
ComponentMiner m_componentMiner
ComponentRider m_componentRider
ComponentSleep m_componentSleep
ComponentPlayer m_componentPlayer
DrawBlockEnvironmentData m_drawBlockEnvironmentData = new()
ModelBone m_bodyBone
ModelBone m_headBone
ModelBone m_leg1Bone
ModelBone m_leg2Bone
ModelBone m_hand1Bone
ModelBone m_hand2Bone
float m_sneakFactor
float m_lieDownFactorEye
float m_lieDownFactorModel
float m_walkAnimationSpeed
float m_walkLegsAngle
float m_walkBobHeight
float m_headingOffset
float m_punchFactor
float m_punchPhase
int m_punchCounter
float m_footstepsPhase
bool m_rowLeft
bool m_rowRight
float m_aimHandAngle
Vector3 m_inHandItemOffset
Vector3 m_inHandItemRotation
Vector2 m_headAngles
Vector2 m_handAngles1
Vector2 m_handAngles2
Vector2 m_legAngles1
Vector2 m_legAngles2
Public 属性 继承自 Game.ComponentCreatureModel
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

属性

override float AttackPhase [get, set]
override float AttackFactor [get, set]
属性 继承自 Game.ComponentCreatureModel
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 ()

详细描述

在文件 ComponentHumanModel.cs7 行定义.

成员函数说明

◆ AnimateCreature()

override void Game.ComponentHumanModel.AnimateCreature ( )

在文件 ComponentHumanModel.cs213 行定义.

函数调用图:

◆ CalculateEyePosition()

override Vector3 Game.ComponentHumanModel.CalculateEyePosition ( )
virtual

重载 Game.ComponentCreatureModel .

在文件 ComponentHumanModel.cs470 行定义.

函数调用图:

◆ CalculateEyeRotation()

override Quaternion Game.ComponentHumanModel.CalculateEyeRotation ( )
virtual

重载 Game.ComponentCreatureModel .

在文件 ComponentHumanModel.cs487 行定义.

函数调用图:

◆ DrawExtras()

override void Game.ComponentHumanModel.DrawExtras ( Camera camera)
virtual

重载 Game.ComponentModel .

在文件 ComponentHumanModel.cs386 行定义.

函数调用图:

◆ Load()

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

重载 Game.ComponentCreatureModel .

在文件 ComponentHumanModel.cs432 行定义.

◆ SetModel()

override void Game.ComponentHumanModel.SetModel ( Model model)
virtual

重载 Game.ComponentModel .

在文件 ComponentHumanModel.cs447 行定义.

◆ Update()

override void Game.ComponentHumanModel.Update ( float dt)
virtual

重载 Game.ComponentCreatureModel .

在文件 ComponentHumanModel.cs89 行定义.

函数调用图:

类成员变量说明

◆ m_aimHandAngle

float Game.ComponentHumanModel.m_aimHandAngle

在文件 ComponentHumanModel.cs63 行定义.

◆ m_bodyBone

ModelBone Game.ComponentHumanModel.m_bodyBone

在文件 ComponentHumanModel.cs26 行定义.

◆ m_componentMiner

ComponentMiner Game.ComponentHumanModel.m_componentMiner

在文件 ComponentHumanModel.cs16 行定义.

◆ m_componentPlayer

ComponentPlayer Game.ComponentHumanModel.m_componentPlayer

在文件 ComponentHumanModel.cs22 行定义.

◆ m_componentRider

ComponentRider Game.ComponentHumanModel.m_componentRider

在文件 ComponentHumanModel.cs18 行定义.

◆ m_componentSleep

ComponentSleep Game.ComponentHumanModel.m_componentSleep

在文件 ComponentHumanModel.cs20 行定义.

◆ m_drawBlockEnvironmentData

DrawBlockEnvironmentData Game.ComponentHumanModel.m_drawBlockEnvironmentData = new()

在文件 ComponentHumanModel.cs24 行定义.

◆ m_footstepsPhase

float Game.ComponentHumanModel.m_footstepsPhase

在文件 ComponentHumanModel.cs57 行定义.

◆ m_hand1Bone

ModelBone Game.ComponentHumanModel.m_hand1Bone

在文件 ComponentHumanModel.cs34 行定义.

◆ m_hand2Bone

ModelBone Game.ComponentHumanModel.m_hand2Bone

在文件 ComponentHumanModel.cs36 行定义.

◆ m_handAngles1

Vector2 Game.ComponentHumanModel.m_handAngles1

在文件 ComponentHumanModel.cs71 行定义.

◆ m_handAngles2

Vector2 Game.ComponentHumanModel.m_handAngles2

在文件 ComponentHumanModel.cs73 行定义.

◆ m_headAngles

Vector2 Game.ComponentHumanModel.m_headAngles

在文件 ComponentHumanModel.cs69 行定义.

◆ m_headBone

ModelBone Game.ComponentHumanModel.m_headBone

在文件 ComponentHumanModel.cs28 行定义.

◆ m_headingOffset

float Game.ComponentHumanModel.m_headingOffset

在文件 ComponentHumanModel.cs49 行定义.

◆ m_inHandItemOffset

Vector3 Game.ComponentHumanModel.m_inHandItemOffset

在文件 ComponentHumanModel.cs65 行定义.

◆ m_inHandItemRotation

Vector3 Game.ComponentHumanModel.m_inHandItemRotation

在文件 ComponentHumanModel.cs67 行定义.

◆ m_leg1Bone

ModelBone Game.ComponentHumanModel.m_leg1Bone

在文件 ComponentHumanModel.cs30 行定义.

◆ m_leg2Bone

ModelBone Game.ComponentHumanModel.m_leg2Bone

在文件 ComponentHumanModel.cs32 行定义.

◆ m_legAngles1

Vector2 Game.ComponentHumanModel.m_legAngles1

在文件 ComponentHumanModel.cs75 行定义.

◆ m_legAngles2

Vector2 Game.ComponentHumanModel.m_legAngles2

在文件 ComponentHumanModel.cs77 行定义.

◆ m_lieDownFactorEye

float Game.ComponentHumanModel.m_lieDownFactorEye

在文件 ComponentHumanModel.cs39 行定义.

◆ m_lieDownFactorModel

float Game.ComponentHumanModel.m_lieDownFactorModel

在文件 ComponentHumanModel.cs41 行定义.

◆ m_punchCounter

int Game.ComponentHumanModel.m_punchCounter

在文件 ComponentHumanModel.cs55 行定义.

◆ m_punchFactor

float Game.ComponentHumanModel.m_punchFactor

在文件 ComponentHumanModel.cs51 行定义.

◆ m_punchPhase

float Game.ComponentHumanModel.m_punchPhase

在文件 ComponentHumanModel.cs53 行定义.

◆ m_rowLeft

bool Game.ComponentHumanModel.m_rowLeft

在文件 ComponentHumanModel.cs59 行定义.

◆ m_rowRight

bool Game.ComponentHumanModel.m_rowRight

在文件 ComponentHumanModel.cs61 行定义.

◆ m_sneakFactor

float Game.ComponentHumanModel.m_sneakFactor

在文件 ComponentHumanModel.cs38 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentHumanModel.m_subsystemAudio

在文件 ComponentHumanModel.cs14 行定义.

◆ m_subsystemModelsRenderer

SubsystemModelsRenderer Game.ComponentHumanModel.m_subsystemModelsRenderer

在文件 ComponentHumanModel.cs10 行定义.

◆ m_subsystemNoise

SubsystemNoise Game.ComponentHumanModel.m_subsystemNoise

在文件 ComponentHumanModel.cs12 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentHumanModel.m_subsystemTerrain

在文件 ComponentHumanModel.cs8 行定义.

◆ m_walkAnimationSpeed

float Game.ComponentHumanModel.m_walkAnimationSpeed

在文件 ComponentHumanModel.cs43 行定义.

◆ m_walkBobHeight

float Game.ComponentHumanModel.m_walkBobHeight

在文件 ComponentHumanModel.cs47 行定义.

◆ m_walkLegsAngle

float Game.ComponentHumanModel.m_walkLegsAngle

在文件 ComponentHumanModel.cs45 行定义.

属性说明

◆ AttackFactor

override float Game.ComponentHumanModel.AttackFactor
getset

在文件 ComponentHumanModel.cs84 行定义.

◆ AttackPhase

override float Game.ComponentHumanModel.AttackPhase
getset

在文件 ComponentHumanModel.cs79 行定义.


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