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

Public 成员函数

void AddParticleSystem (ParticleSystemBase particleSystem, bool throwOnAlreadyAdded=false)
void RemoveParticleSystem (ParticleSystemBase particleSystem, bool throwOnNotFound=false)
bool ContainsParticleSystem (ParticleSystemBase particleSystem)
override void Load (ValuesDictionary valuesDictionary)
virtual void Update (float dt)
virtual void Draw (Camera camera, int drawOrder)
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 属性

SubsystemTime m_subsystemTime
Dictionary< ParticleSystemBase, bool > m_particleSystems = []
PrimitivesRenderer3D PrimitivesRenderer = new()
bool ParticleSystemsDraw = true
bool ParticleSystemsSimulate = true
int[] m_drawOrders = [300]
List< ParticleSystemBasem_endedParticleSystems = []

属性

UpdateOrder UpdateOrder [get]
SubsystemSky SubsystemSky [get, private set]
int[] DrawOrders [get]
属性 继承自 GameEntitySystem.Subsystem
Project Project [get]
ValuesDictionary ValuesDictionary [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

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

详细描述

在文件 SubsystemParticles.cs7 行定义.

成员函数说明

◆ AddParticleSystem()

void Game.SubsystemParticles.AddParticleSystem ( ParticleSystemBase particleSystem,
bool throwOnAlreadyAdded = false )

在文件 SubsystemParticles.cs28 行定义.

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

◆ ContainsParticleSystem()

bool Game.SubsystemParticles.ContainsParticleSystem ( ParticleSystemBase particleSystem)

在文件 SubsystemParticles.cs52 行定义.

◆ Draw()

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

实现了 Game.IDrawable.

在文件 SubsystemParticles.cs79 行定义.

函数调用图:

◆ Load()

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

重载 GameEntitySystem.Subsystem .

在文件 SubsystemParticles.cs54 行定义.

◆ RemoveParticleSystem()

void Game.SubsystemParticles.RemoveParticleSystem ( ParticleSystemBase particleSystem,
bool throwOnNotFound = false )

在文件 SubsystemParticles.cs40 行定义.

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

◆ Update()

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

实现了 Game.IUpdateable.

在文件 SubsystemParticles.cs59 行定义.

函数调用图:

类成员变量说明

◆ m_drawOrders

int [] Game.SubsystemParticles.m_drawOrders = [300]

在文件 SubsystemParticles.cs18 行定义.

◆ m_endedParticleSystems

List<ParticleSystemBase> Game.SubsystemParticles.m_endedParticleSystems = []

在文件 SubsystemParticles.cs20 行定义.

◆ m_particleSystems

Dictionary<ParticleSystemBase, bool> Game.SubsystemParticles.m_particleSystems = []

在文件 SubsystemParticles.cs10 行定义.

◆ m_subsystemTime

SubsystemTime Game.SubsystemParticles.m_subsystemTime

在文件 SubsystemParticles.cs8 行定义.

◆ ParticleSystemsDraw

bool Game.SubsystemParticles.ParticleSystemsDraw = true

在文件 SubsystemParticles.cs14 行定义.

◆ ParticleSystemsSimulate

bool Game.SubsystemParticles.ParticleSystemsSimulate = true

在文件 SubsystemParticles.cs16 行定义.

◆ PrimitivesRenderer

PrimitivesRenderer3D Game.SubsystemParticles.PrimitivesRenderer = new()

在文件 SubsystemParticles.cs12 行定义.

属性说明

◆ DrawOrders

int [] Game.SubsystemParticles.DrawOrders
get

实现了 Game.IDrawable.

在文件 SubsystemParticles.cs26 行定义.

◆ SubsystemSky

SubsystemSky Game.SubsystemParticles.SubsystemSky
getprivate set

在文件 SubsystemParticles.cs24 行定义.

◆ UpdateOrder

UpdateOrder Game.SubsystemParticles.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 SubsystemParticles.cs22 行定义.


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