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

Public 成员函数

virtual ? Matrix GetBoneTransform (int boneIndex)
virtual void SetBoneTransform (int boneIndex, Matrix? transformation)
virtual void CalculateAbsoluteBonesTransforms (Camera camera)
virtual void CalculateIsVisible (Camera camera)
virtual void Animate ()
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 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 属性

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

属性

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]

额外继承的成员函数

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

详细描述

在文件 ComponentModel.cs8 行定义.

成员函数说明

◆ Animate()

virtual void Game.ComponentModel.Animate ( )
virtual

Game.ComponentCreatureModel, Game.ComponentOuterClothingModel , 以及 Game.ComponentSimpleModel 重载.

在文件 ComponentModel.cs128 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ CalculateAbsoluteBonesTransforms()

virtual void Game.ComponentModel.CalculateAbsoluteBonesTransforms ( Camera camera)
virtual

在文件 ComponentModel.cs83 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ CalculateIsVisible()

virtual void Game.ComponentModel.CalculateIsVisible ( Camera camera)
virtual

在文件 ComponentModel.cs99 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ DrawExtras()

virtual void Game.ComponentModel.DrawExtras ( Camera camera)
virtual

Game.ComponentHumanModel 重载.

在文件 ComponentModel.cs140 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GetBoneTransform()

virtual ? Matrix Game.ComponentModel.GetBoneTransform ( int boneIndex)
virtual

在文件 ComponentModel.cs75 行定义.

这是这个函数的调用关系图:

◆ Load()

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

重载 GameEntitySystem.Component .

Game.ComponentOuterClothingModel , 以及 Game.ComponentSimpleModel 重载.

在文件 ComponentModel.cs152 行定义.

函数调用图:

◆ ProcessBoneHierarchy()

virtual void Game.ComponentModel.ProcessBoneHierarchy ( ModelBone modelBone,
Matrix currentTransform,
Matrix[] transforms )
virtual

在文件 ComponentModel.cs193 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ SetBoneTransform()

virtual void Game.ComponentModel.SetBoneTransform ( int boneIndex,
Matrix? transformation )
virtual

在文件 ComponentModel.cs77 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ SetModel()

virtual void Game.ComponentModel.SetModel ( Model model)
virtual

类成员变量说明

◆ Animated

bool Game.ComponentModel.Animated

在文件 ComponentModel.cs12 行定义.

◆ IsExtrasDrawn

bool Game.ComponentModel.IsExtrasDrawn

在文件 ComponentModel.cs13 行定义.

◆ IsSet

bool Game.ComponentModel.IsSet

在文件 ComponentModel.cs11 行定义.

◆ m_boneTransforms

Matrix? [] Game.ComponentModel.m_boneTransforms

在文件 ComponentModel.cs19 行定义.

◆ m_boundingSphereRadius

float Game.ComponentModel.m_boundingSphereRadius

在文件 ComponentModel.cs21 行定义.

◆ m_componentFrame

ComponentFrame Game.ComponentModel.m_componentFrame

在文件 ComponentModel.cs15 行定义.

◆ m_model

Model Game.ComponentModel.m_model

在文件 ComponentModel.cs17 行定义.

◆ m_subsystemSky

SubsystemSky Game.ComponentModel.m_subsystemSky

在文件 ComponentModel.cs9 行定义.

属性说明

◆ AbsoluteBoneTransformsForCamera

Matrix [] Game.ComponentModel.AbsoluteBoneTransformsForCamera
getset

在文件 ComponentModel.cs73 行定义.

◆ CastsShadow

bool Game.ComponentModel.CastsShadow
getset

在文件 ComponentModel.cs63 行定义.

◆ DiffuseColor

Vector3? Game.ComponentModel.DiffuseColor
getset

在文件 ComponentModel.cs50 行定义.

◆ EmissionColor

Vector4? Game.ComponentModel.EmissionColor
getset

在文件 ComponentModel.cs52 行定义.

◆ IsVisibleForCamera

bool Game.ComponentModel.IsVisibleForCamera
getset

在文件 ComponentModel.cs71 行定义.

◆ MeshDrawOrders

int [] Game.ComponentModel.MeshDrawOrders
getset

在文件 ComponentModel.cs69 行定义.

◆ Model

Model Game.ComponentModel.Model
getset

在文件 ComponentModel.cs54 行定义.

◆ ModelOffset

Vector3 Game.ComponentModel.ModelOffset
getset

模型偏移

在文件 ComponentModel.cs26 行定义.

◆ ModelRoute

string Game.ComponentModel.ModelRoute
getset

模型路径

在文件 ComponentModel.cs46 行定义.

◆ ModelScale

float Game.ComponentModel.ModelScale
getset

模型大小缩放

在文件 ComponentModel.cs36 行定义.

◆ OnAnimate

virtual Func<bool> Game.ComponentModel.OnAnimate
getset

在文件 ComponentModel.cs61 行定义.

◆ Opacity

float? Game.ComponentModel.Opacity
getset

在文件 ComponentModel.cs48 行定义.

◆ PrepareOrder

int Game.ComponentModel.PrepareOrder
getset

在文件 ComponentModel.cs65 行定义.

◆ RenderingMode

virtual ModelRenderingMode Game.ComponentModel.RenderingMode
getset

在文件 ComponentModel.cs67 行定义.

◆ TextureOverride

Texture2D Game.ComponentModel.TextureOverride
getset

在文件 ComponentModel.cs59 行定义.

◆ TextureRoute

string Game.ComponentModel.TextureRoute
getset

纹理路径

在文件 ComponentModel.cs41 行定义.

◆ Transparent

float Game.ComponentModel.Transparent
getset

模型透明度

在文件 ComponentModel.cs31 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Component/ComponentModel.cs