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

class  Geometry

Public 成员函数

virtual void Update (float dt)
virtual void Draw (Camera camera, int drawOrder)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual void DrawRayHighlight (Camera camera)
virtual void DrawReticleHighlight (Camera camera)
virtual void DrawFillHighlight (Camera camera)
virtual void DrawOutlineHighlight (Camera camera)
BoundingBox GetCellFaceBoundingBox (Point3 point)
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 成员函数

static void DrawBoundingBoxFace (FlatBatch3D batch, int face, Vector3 c1, Vector3 c2, Color color)

Public 属性

SubsystemTerrain m_subsystemTerrain
SubsystemAnimatedTextures m_subsystemAnimatedTextures
SubsystemSky m_subsystemSky
ComponentPlayer m_componentPlayer
PrimitivesRenderer3D m_primitivesRenderer3D = new()
Shader m_shader
CellFace m_cellFace
int m_value
object m_highlightRaycastResult
Geometry m_geometry
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

静态 Public 属性

static int[] m_drawOrders = [1, 2000]

属性

Point3NearbyEditableCell [get, set]
UpdateOrder UpdateOrder [get]
int[] DrawOrders [get]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

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

详细描述

在文件 ComponentBlockHighlight.cs7 行定义.

成员函数说明

◆ Draw()

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

实现了 Game.IDrawable.

在文件 ComponentBlockHighlight.cs66 行定义.

函数调用图:

◆ DrawBoundingBoxFace()

void Game.ComponentBlockHighlight.DrawBoundingBoxFace ( FlatBatch3D batch,
int face,
Vector3 c1,
Vector3 c2,
Color color )
static

在文件 ComponentBlockHighlight.cs275 行定义.

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

◆ DrawFillHighlight()

virtual void Game.ComponentBlockHighlight.DrawFillHighlight ( Camera camera)
virtual

在文件 ComponentBlockHighlight.cs175 行定义.

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

◆ DrawOutlineHighlight()

virtual void Game.ComponentBlockHighlight.DrawOutlineHighlight ( Camera camera)
virtual

在文件 ComponentBlockHighlight.cs230 行定义.

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

◆ DrawRayHighlight()

virtual void Game.ComponentBlockHighlight.DrawRayHighlight ( Camera camera)
virtual

在文件 ComponentBlockHighlight.cs91 行定义.

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

◆ DrawReticleHighlight()

virtual void Game.ComponentBlockHighlight.DrawReticleHighlight ( Camera camera)
virtual

在文件 ComponentBlockHighlight.cs123 行定义.

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

◆ GetCellFaceBoundingBox()

BoundingBox Game.ComponentBlockHighlight.GetCellFaceBoundingBox ( Point3 point)

在文件 ComponentBlockHighlight.cs316 行定义.

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

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentBlockHighlight.cs79 行定义.

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentBlockHighlight.cs36 行定义.

函数调用图:

类成员变量说明

◆ m_cellFace

CellFace Game.ComponentBlockHighlight.m_cellFace

在文件 ComponentBlockHighlight.cs20 行定义.

◆ m_componentPlayer

ComponentPlayer Game.ComponentBlockHighlight.m_componentPlayer

在文件 ComponentBlockHighlight.cs14 行定义.

◆ m_drawOrders

int [] Game.ComponentBlockHighlight.m_drawOrders = [1, 2000]
static

在文件 ComponentBlockHighlight.cs28 行定义.

◆ m_geometry

Geometry Game.ComponentBlockHighlight.m_geometry

在文件 ComponentBlockHighlight.cs26 行定义.

◆ m_highlightRaycastResult

object Game.ComponentBlockHighlight.m_highlightRaycastResult

在文件 ComponentBlockHighlight.cs24 行定义.

◆ m_primitivesRenderer3D

PrimitivesRenderer3D Game.ComponentBlockHighlight.m_primitivesRenderer3D = new()

在文件 ComponentBlockHighlight.cs16 行定义.

◆ m_shader

Shader Game.ComponentBlockHighlight.m_shader

在文件 ComponentBlockHighlight.cs18 行定义.

◆ m_subsystemAnimatedTextures

SubsystemAnimatedTextures Game.ComponentBlockHighlight.m_subsystemAnimatedTextures

在文件 ComponentBlockHighlight.cs10 行定义.

◆ m_subsystemSky

SubsystemSky Game.ComponentBlockHighlight.m_subsystemSky

在文件 ComponentBlockHighlight.cs12 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentBlockHighlight.m_subsystemTerrain

在文件 ComponentBlockHighlight.cs8 行定义.

◆ m_value

int Game.ComponentBlockHighlight.m_value

在文件 ComponentBlockHighlight.cs22 行定义.

属性说明

◆ DrawOrders

int [] Game.ComponentBlockHighlight.DrawOrders
get

实现了 Game.IDrawable.

在文件 ComponentBlockHighlight.cs34 行定义.

◆ NearbyEditableCell

Point3? Game.ComponentBlockHighlight.NearbyEditableCell
getset

在文件 ComponentBlockHighlight.cs30 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentBlockHighlight.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentBlockHighlight.cs32 行定义.


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