Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

extrapolationTimeThe extrapolation time when the event was created, in the range [0, 1].
interpolationTimeThe interpolation time when the event was created, in the range [0, 1].
physicsWorldThe physics world the event was created from.
transformPlaneThe transform plane of the physics world when the event was created.
transformPlaneCustomThe 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.
tweensThe transform write tweens available to be configured.