PhysicsEvents.TransformTweenWriteEvent
An event produced and sent to the callback target set with _transformWriteCallbackTarget which must implement PhysicsCallbacks.ITransformWriteCallback which will have PhysicsCallbacks.ITransformWriteCallback.OnTransformTweenWrite called allowing custom transform writing.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsEvents.TransformTweenWriteEvent
Properties
Property | Description |
|---|---|
| extrapolationTime | The extrapolation time when the event was created, in the range [0, 1]. |
| interpolationTime | The interpolation time when the event was created, in the range [0, 1]. |
| physicsWorld | The physics world the event was created from. |
| transformPlane | The transform plane of the physics world when the event was created. |
| transformPlaneCustom | The transform plane (custom) of the physics world when the event was created. This maybe not be relevant unless the transform plane is PhysicsWorld.TransformPlane.Custom. |
| tweens | The transform write tweens available to be configured. |