Class PlaneLandmarksAction
Inheritance
PlaneLandmarksAction
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Landmarks
Assembly: Unity.MARS.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.mars@2.0/manual/ReferenceGuideActions.html#plane-landmarks-action-planelandmarksaction")]
[MonoBehaviourComponentMenu(typeof(PlaneLandmarksAction), "Action/Plane Landmarks")]
[MovedFrom("Unity.MARS")]
public class PlaneLandmarksAction : LandmarkOutputPolygon, ICalculateLandmarks, ILandmarkOutput, IUsesMARSTrackableData<MRPlane>, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber, ISpawnable, IMatchAcquireHandler, IMatchUpdateHandler, IMatchLossHandler, IAction, ISimulatable
Properties
AvailableLandmarkDefinitions
A list of landmark definitions that this class can support.
Declaration
public override List<LandmarkDefinition> AvailableLandmarkDefinitions { get; }
Property Value
Type | Description |
---|---|
List<LandmarkDefinition> |
Overrides
Methods
GetLandmarkCalculation(LandmarkDefinition)
Get an action that calculates a landmark with the given definition. If the landmark does not have the proper settings or output set up, it should return null
Declaration
public override Action<ILandmarkController> GetLandmarkCalculation(LandmarkDefinition definition)
Parameters
Type | Name | Description |
---|---|---|
LandmarkDefinition | definition | The landmark definition to get the calculation for |
Returns
Type | Description |
---|---|
Action<ILandmarkController> |
Overrides
OnMatchAcquire(QueryResult)
Called when a query match has been found
Declaration
public void OnMatchAcquire(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult | Data associated with this event |
OnMatchDataChanged(QueryResult)
Declaration
protected void OnMatchDataChanged(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult |
OnMatchDataLost(QueryResult)
Declaration
protected void OnMatchDataLost(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult |
OnMatchLoss(QueryResult)
Called when a query match has been lost
Declaration
public void OnMatchLoss(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult | Data associated with this event |
OnMatchUpdate(QueryResult)
Called when a query match's data has updated
Declaration
public void OnMatchUpdate(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult | Data associated with this event |
Implements
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber<TProvider>
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber