Class PermittedAreaSpawnerNode.PermittedAreaSpawnerWorker<T>
Inheritance
PermittedAreaSpawnerNode.PermittedAreaSpawnerWorker<T>
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
protected abstract class PermittedAreaSpawnerNode.PermittedAreaSpawnerWorker<T> : SpawnerNode.SpawnerWorker<T>, IPipelineWorker, IShiftParent, ICollisionSolverSpawnerWorker where T : PermittedAreaSpawnerNode
Type Parameters
Constructors
PermittedAreaSpawnerWorker(T)
Declaration
protected PermittedAreaSpawnerWorker(T node)
Parameters
Type |
Name |
Description |
T |
node |
|
Fields
HeightMapWorker
The worker the heightmap input node attached to the pipeline.
Declaration
protected MapWorker HeightMapWorker
Field Value
PermittedAreaWorker
The worker the permitted area input node attached to the pipeline.
Declaration
protected MapWorker PermittedAreaWorker
Field Value
Properties
MayUpdateMovingGrid
Declaration
protected override bool MayUpdateMovingGrid { get; }
Property Value
Overrides
Methods
GetHeightAtPosition(GlobalPosition)
Declaration
public float GetHeightAtPosition(GlobalPosition position)
Parameters
Returns
Init()
Declaration
public override void Init()
Overrides
IsInPermittedArea(GlobalPosition)
States whether the given position is within the permitted area.
Declaration
public bool IsInPermittedArea(GlobalPosition position)
Parameters
Returns
Type |
Description |
bool |
Whether the the given position is within the permitted area.
|
SolveCollision(GameObject)
Solves the collision depending on the MovingGridOfGameObjects CollisionSolver component.
Declaration
protected void SolveCollision(GameObject gameObject)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
The GameObject whose collision to solve.
|
Implements