Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsEvents.TransformWriteEvent

An event produced and sent to the callback target set with _transformWriteCallbackTarget which must implement PhysicsCallbacks.ITransformWriteCallback which will have PhysicsCallbacks.ITransformWriteCallback.OnTransformWrite called allowing custom transform writing.
Read time 1 minuteLast updated 12 days ago

Definition

public readonly struct PhysicsEvents.TransformWriteEvent : IEquatable<PhysicsEvents.TransformWriteEvent>

Properties

Property

Description

physicsWorldThe physics world the event was created from.
simulationTypeThe simulation type of the physics world when the event was created.
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.
transformTweenModeThe transform tween mode of the physics world when the event was created.
tweensThe transform write tweens available to be configured.