docs.unity.cn
    Show / Hide Table of Contents

    Struct PhysicsGraphicalInterpolationBuffer

    Stores the state of a rigid body from the previous physics tick in order to interpolate the motion of the body's graphical representation. When used in conjunction with PhysicsGraphicalSmoothing, it indicates that smoothing should interpolate between the two most recent physics simulation ticks. The result is thus a more accurate representation of the physics simulation, but is one tick behind.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics.GraphicsIntegration
    Syntax
    public struct PhysicsGraphicalInterpolationBuffer : IComponentData, IQueryTypeParameter

    Fields

    PreviousTransform

    The body's position and orientation from the previous physics tick.

    Declaration
    public RigidTransform PreviousTransform
    Field Value
    Type Description
    RigidTransform

    PreviousVelocity

    The body's linear and angular velocity from the previous physics tick.

    Declaration
    public PhysicsVelocity PreviousVelocity
    Field Value
    Type Description
    PhysicsVelocity
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023