Interface ICollisionSolverSpawnerWorker
Used by the CollisionSolver
component when an object spawned by this
worker resolves collisions with other objects spawned by this worker.
Namespace: Holoride.ElasticSDK.Graph.Spawners
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
public interface ICollisionSolverSpawnerWorker
Methods
GetHeightAtPosition(GlobalPosition)
Returns the height value ar a certain position.
Declaration
float GetHeightAtPosition(GlobalPosition position)
Parameters
Type | Name | Description |
---|---|---|
GlobalPosition | position | The position to check. |
Returns
Type | Description |
---|---|
float | The height value. |
IsInPermittedArea(GlobalPosition)
States whether the given position is within the permitted area.
Declaration
bool IsInPermittedArea(GlobalPosition position)
Parameters
Type | Name | Description |
---|---|---|
GlobalPosition | position | The position to check. |
Returns
Type | Description |
---|---|
bool | Whether the the given position is within the permitted area. |