Class DelegateXRBodyTransformation
Body transformation that invokes a delegate when applied.
Implements
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
Assembly: solution.dll
Syntax
public class DelegateXRBodyTransformation : IXRBodyTransformation
Constructors
| Name | Description |
|---|---|
| DelegateXRBodyTransformation() | Constructs a new transformation. |
| DelegateXRBodyTransformation(Action<XRMovableBody>) | Constructs a new transformation with the specified delegate. |
Methods
| Name | Description |
|---|---|
| Apply(XRMovableBody) | Performs the transformation on the given body. |
Events
| Name | Description |
|---|---|
| transformation | Invoked when Apply(XRMovableBody) is called. Use this to perform the actual transformation. |