Class LandmarkController
Component that handles getting the calculation for a landmark definition from a source and updating the output.
This component references the source, output, and an optional extra settings component, and uses those components to decide when to recalculate.
Inheritance
LandmarkController
Syntax
[MovedFrom("Unity.MARS")]
public class LandmarkController : MonoBehaviour, ILandmarkController, ISimulatable
Properties
landmarkDefinition
Declaration
public LandmarkDefinition landmarkDefinition { get; set; }
Property Value
Implements
output
Declaration
public ILandmarkOutput output { get; set; }
Property Value
Implements
settings
Declaration
public ILandmarkSettings settings { get; set; }
Property Value
Implements
source
Declaration
public ICalculateLandmarks source { get; set; }
Property Value
Methods
SetOutputType(Type)
Declaration
public void SetOutputType(Type outputType)
Parameters
Type |
Name |
Description |
Type |
outputType |
|
UpdateLandmark()
Declaration
public void UpdateLandmark()
Events
updated
Declaration
public event Action<LandmarkController> updated
Event Type