Class SpawnerNode
A node that creates a SpawnerWorker in order to generate objects depending on the geo location.
Implements
Inherited Members
Namespace: Holoride.ElasticSDK.Graph.Spawners
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
[DefaultNodeColorAttribute]
public abstract class SpawnerNode : Node<SpawnerNode>, IPipelineNode
Fields
Extents
The edge length of the square region around the player's position where objects get spawned.
Declaration
protected float Extents
Field Value
| Type | Description |
|---|---|
| float |
Properties
CellSize
Gets the edge length of each squared cell.
Declaration
protected virtual double CellSize { get; }
Property Value
| Type | Description |
|---|---|
| double |
IsUnconstrained
Gets a value indicating whether the extents of this spawner are always unclamped.
Declaration
public virtual bool IsUnconstrained { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
GeneratePipelineWorker()
Generates a pipeline worker.
Declaration
public abstract IPipelineWorker GeneratePipelineWorker()
Returns
| Type | Description |
|---|---|
| IPipelineWorker |