Interface IMixedRealitySourcePoseHandler
Interface to implement to react to source
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealitySourcePoseHandler : IMixedRealitySourceStateHandler, IEventSystemHandler
Methods
OnSourcePoseChanged(SourcePoseEventData<TrackingState>)
Raised when the source pose tracking state is changed.
Declaration
void OnSourcePoseChanged(SourcePoseEventData<TrackingState> eventData)
Parameters
Type | Name | Description |
---|---|---|
SourcePoseEventData<TrackingState> | eventData |
OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)
Raised when the source pose is changed.
Declaration
void OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose> eventData)
Parameters
Type | Name | Description |
---|---|---|
SourcePoseEventData<MixedRealityPose> | eventData |
OnSourcePoseChanged(SourcePoseEventData<Quaternion>)
Raised when the source rotation is changed.
Declaration
void OnSourcePoseChanged(SourcePoseEventData<Quaternion> eventData)
Parameters
Type | Name | Description |
---|---|---|
SourcePoseEventData<Quaternion> | eventData |
OnSourcePoseChanged(SourcePoseEventData<Vector2>)
Raised when the source position is changed.
Declaration
void OnSourcePoseChanged(SourcePoseEventData<Vector2> eventData)
Parameters
Type | Name | Description |
---|---|---|
SourcePoseEventData<Vector2> | eventData |
OnSourcePoseChanged(SourcePoseEventData<Vector3>)
Raised when the source position is changed.
Declaration
void OnSourcePoseChanged(SourcePoseEventData<Vector3> eventData)
Parameters
Type | Name | Description |
---|---|---|
SourcePoseEventData<Vector3> | eventData |