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

Public 成员函数

virtual void Draw (Camera camera, int drawOrder)
virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
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 属性

SubsystemTerrain m_subsystemTerrain
ComponentMiner m_componentMiner
ComponentPlayer m_componentPlayer
ComponentRider m_componentRider
int m_value
Model m_handModel
Vector3m_lastYpr
Vector2 m_lagAngles
float m_swapAnimationTime
float m_pokeAnimationTime
Vector3 m_itemOffset
Vector3 m_itemRotation
double m_nextHandLightTime
float m_handLight
int m_itemLight
DrawBlockEnvironmentData m_drawBlockEnvironmentData = new()
PrimitivesRenderer3D m_primitivesRenderer = new()
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

静态 Public 属性

static LitShader LitShader
static int[] m_drawOrders = [1]

属性

Vector3 ItemOffsetOrder [get, set]
Vector3 ItemRotationOrder [get, set]
bool ForceDrawHandOnly = false [get, set]
 强制只绘制手部模型(即使有物品也不绘制)
int[] DrawOrders [get]
UpdateOrder UpdateOrder [get]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

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

详细描述

在文件 ComponentFirstPersonModel.cs7 行定义.

成员函数说明

◆ Draw()

virtual void Game.ComponentFirstPersonModel.Draw ( Camera camera,
int drawOrder )
virtual

实现了 Game.IDrawable.

在文件 ComponentFirstPersonModel.cs68 行定义.

函数调用图:

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentFirstPersonModel.cs259 行定义.

函数调用图:

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentFirstPersonModel.cs222 行定义.

函数调用图:

类成员变量说明

◆ LitShader

LitShader Game.ComponentFirstPersonModel.LitShader
static
初始值:
= new(
ShaderCodeManager.GetFast("Shaders/Lit.vsh"),
ShaderCodeManager.GetFast("Shaders/Lit.psh"),
2,
false,
false,
true,
false,
false
)
static string GetFast(string fname)

在文件 ComponentFirstPersonModel.cs42 行定义.

◆ m_componentMiner

ComponentMiner Game.ComponentFirstPersonModel.m_componentMiner

在文件 ComponentFirstPersonModel.cs10 行定义.

◆ m_componentPlayer

ComponentPlayer Game.ComponentFirstPersonModel.m_componentPlayer

在文件 ComponentFirstPersonModel.cs12 行定义.

◆ m_componentRider

ComponentRider Game.ComponentFirstPersonModel.m_componentRider

在文件 ComponentFirstPersonModel.cs14 行定义.

◆ m_drawBlockEnvironmentData

DrawBlockEnvironmentData Game.ComponentFirstPersonModel.m_drawBlockEnvironmentData = new()

在文件 ComponentFirstPersonModel.cs38 行定义.

◆ m_drawOrders

int [] Game.ComponentFirstPersonModel.m_drawOrders = [1]
static

在文件 ComponentFirstPersonModel.cs53 行定义.

◆ m_handLight

float Game.ComponentFirstPersonModel.m_handLight

在文件 ComponentFirstPersonModel.cs34 行定义.

◆ m_handModel

Model Game.ComponentFirstPersonModel.m_handModel

在文件 ComponentFirstPersonModel.cs18 行定义.

◆ m_itemLight

int Game.ComponentFirstPersonModel.m_itemLight

在文件 ComponentFirstPersonModel.cs36 行定义.

◆ m_itemOffset

Vector3 Game.ComponentFirstPersonModel.m_itemOffset

在文件 ComponentFirstPersonModel.cs28 行定义.

◆ m_itemRotation

Vector3 Game.ComponentFirstPersonModel.m_itemRotation

在文件 ComponentFirstPersonModel.cs30 行定义.

◆ m_lagAngles

Vector2 Game.ComponentFirstPersonModel.m_lagAngles

在文件 ComponentFirstPersonModel.cs22 行定义.

◆ m_lastYpr

Vector3? Game.ComponentFirstPersonModel.m_lastYpr

在文件 ComponentFirstPersonModel.cs20 行定义.

◆ m_nextHandLightTime

double Game.ComponentFirstPersonModel.m_nextHandLightTime

在文件 ComponentFirstPersonModel.cs32 行定义.

◆ m_pokeAnimationTime

float Game.ComponentFirstPersonModel.m_pokeAnimationTime

在文件 ComponentFirstPersonModel.cs26 行定义.

◆ m_primitivesRenderer

PrimitivesRenderer3D Game.ComponentFirstPersonModel.m_primitivesRenderer = new()

在文件 ComponentFirstPersonModel.cs40 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentFirstPersonModel.m_subsystemTerrain

在文件 ComponentFirstPersonModel.cs8 行定义.

◆ m_swapAnimationTime

float Game.ComponentFirstPersonModel.m_swapAnimationTime

在文件 ComponentFirstPersonModel.cs24 行定义.

◆ m_value

int Game.ComponentFirstPersonModel.m_value

在文件 ComponentFirstPersonModel.cs16 行定义.

属性说明

◆ DrawOrders

int [] Game.ComponentFirstPersonModel.DrawOrders
get

实现了 Game.IDrawable.

在文件 ComponentFirstPersonModel.cs64 行定义.

◆ ForceDrawHandOnly

bool Game.ComponentFirstPersonModel.ForceDrawHandOnly = false
getset

强制只绘制手部模型(即使有物品也不绘制)

在文件 ComponentFirstPersonModel.cs62 行定义.

◆ ItemOffsetOrder

Vector3 Game.ComponentFirstPersonModel.ItemOffsetOrder
getset

在文件 ComponentFirstPersonModel.cs55 行定义.

◆ ItemRotationOrder

Vector3 Game.ComponentFirstPersonModel.ItemRotationOrder
getset

在文件 ComponentFirstPersonModel.cs57 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentFirstPersonModel.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentFirstPersonModel.cs66 行定义.


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