Class CompositorSystem<TNode, TTag, TAllocatedTag>
Inheritance
CompositorSystem<TNode, TTag, TAllocatedTag>
Syntax
public abstract class CompositorSystem<TNode, TTag, TAllocatedTag> : ComponentSystem where TNode : NodeDefinition, IGraphHandler, IEntityContextHandler, IComponentNodeHandler, new()
where TTag : struct, IComponentData where TAllocatedTag : struct, ISystemStateComponentData
Type Parameters
Name |
Description |
TNode |
|
TTag |
|
TAllocatedTag |
|
Properties
Set
Declaration
public abstract NodeSet Set { get; }
Property Value
Methods
DeleteComponentNode(Entity)
Declaration
protected bool DeleteComponentNode(Entity entity)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
Returns
DestroyGraph(Entity, ref GraphState, ref EntityCommandBuffer)
Declaration
protected virtual void DestroyGraph(Entity entity, ref GraphState state, ref EntityCommandBuffer cmdBuffer)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
GraphState |
state |
|
EntityCommandBuffer |
cmdBuffer |
|
GetOrCreateComponentNode(Entity)
Declaration
protected NodeHandle<ComponentNode> GetOrCreateComponentNode(Entity entity)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
Returns
Type |
Description |
NodeHandle<ComponentNode> |
|
OnCreate()
Declaration
protected override void OnCreate()
OnDestroy()
Declaration
protected override void OnDestroy()
OnUpdate()
Declaration
protected override void OnUpdate()