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

Public 成员函数

override void Animate ()
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
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)
virtual void SetModel (Model model)
virtual void ProcessBoneHierarchy (ModelBone modelBone, Matrix currentTransform, Matrix[] transforms)
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
virtual void OnEntityAdded ()
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 属性

SubsystemGameInfo m_subsystemGameInfo
ComponentSpawn m_componentSpawn
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

额外继承的成员函数

包函数 继承自 GameEntitySystem.Component
void DisposeInternal ()
属性 继承自 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]

详细描述

在文件 ComponentSimpleModel.cs6 行定义.

成员函数说明

◆ Animate()

override void Game.ComponentSimpleModel.Animate ( )
virtual

重载 Game.ComponentModel .

在文件 ComponentSimpleModel.cs11 行定义.

函数调用图:

◆ Load()

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

重载 Game.ComponentModel .

在文件 ComponentSimpleModel.cs34 行定义.

函数调用图:

类成员变量说明

◆ m_componentSpawn

ComponentSpawn Game.ComponentSimpleModel.m_componentSpawn

在文件 ComponentSimpleModel.cs9 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentSimpleModel.m_subsystemGameInfo

在文件 ComponentSimpleModel.cs7 行定义.


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