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

Public 成员函数

virtual void QueueShadow (Camera camera, Vector3 shadowPosition, float shadowDiameter, float alpha)
virtual void Draw (Camera camera, int drawOrder)
override void Load (ValuesDictionary valuesDictionary)
virtual void DrawShadowOverQuad (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, Vector3 shadowPosition, float shadowDiameter, float alpha)
Public 成员函数 继承自 GameEntitySystem.Subsystem
virtual void OnEntityAdded (Entity entity)
virtual void OnEntityRemoved (Entity entity)
virtual void Save (ValuesDictionary valuesDictionary)
virtual void Dispose ()
virtual void Initialize (Project project, ValuesDictionary valuesDictionary)

静态 Public 成员函数

static Vector2 CalculateShadowTextureCoordinate (Vector3 p, Vector3 shadowPosition, float shadowDiameter)

Public 属性

SubsystemTerrain m_subsystemTerrain
SubsystemSky m_subsystemSky
PrimitivesRenderer3D m_primitivesRenderer = new()
TexturedBatch3D m_batch

静态 Public 属性

static int[] m_drawOrders = [200]

属性

int[] DrawOrders [get]
属性 继承自 GameEntitySystem.Subsystem
Project Project [get]
ValuesDictionary ValuesDictionary [get]

额外继承的成员函数

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

详细描述

在文件 SubsystemShadows.cs7 行定义.

成员函数说明

◆ CalculateShadowTextureCoordinate()

Vector2 Game.SubsystemShadows.CalculateShadowTextureCoordinate ( Vector3 p,
Vector3 shadowPosition,
float shadowDiameter )
static

在文件 SubsystemShadows.cs124 行定义.

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

◆ Draw()

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

实现了 Game.IDrawable.

在文件 SubsystemShadows.cs80 行定义.

◆ DrawShadowOverQuad()

virtual void Game.SubsystemShadows.DrawShadowOverQuad ( Vector3 p1,
Vector3 p2,
Vector3 p3,
Vector3 p4,
Vector3 shadowPosition,
float shadowDiameter,
float alpha )
virtual

在文件 SubsystemShadows.cs98 行定义.

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

◆ Load()

override void Game.SubsystemShadows.Load ( ValuesDictionary valuesDictionary)
virtual

重载 GameEntitySystem.Subsystem .

在文件 SubsystemShadows.cs84 行定义.

函数调用图:

◆ QueueShadow()

virtual void Game.SubsystemShadows.QueueShadow ( Camera camera,
Vector3 shadowPosition,
float shadowDiameter,
float alpha )
virtual

在文件 SubsystemShadows.cs20 行定义.

函数调用图:

类成员变量说明

◆ m_batch

TexturedBatch3D Game.SubsystemShadows.m_batch

在文件 SubsystemShadows.cs14 行定义.

◆ m_drawOrders

int [] Game.SubsystemShadows.m_drawOrders = [200]
static

在文件 SubsystemShadows.cs16 行定义.

◆ m_primitivesRenderer

PrimitivesRenderer3D Game.SubsystemShadows.m_primitivesRenderer = new()

在文件 SubsystemShadows.cs12 行定义.

◆ m_subsystemSky

SubsystemSky Game.SubsystemShadows.m_subsystemSky

在文件 SubsystemShadows.cs10 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.SubsystemShadows.m_subsystemTerrain

在文件 SubsystemShadows.cs8 行定义.

属性说明

◆ DrawOrders

int [] Game.SubsystemShadows.DrawOrders
get

实现了 Game.IDrawable.

在文件 SubsystemShadows.cs18 行定义.


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