Struct JacobianHeader | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct JacobianHeader

    Namespace: Unity.Physics
    Syntax
    public struct JacobianHeader

    Properties

    BodyPair

    Declaration
    public BodyIndexPair BodyPair { get; }
    Property Value
    Type Description
    BodyIndexPair

    ColliderKeys

    Declaration
    public ColliderKeyPair ColliderKeys { get; set; }
    Property Value
    Type Description
    ColliderKeyPair

    Enabled

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Flags

    Declaration
    public JacobianFlags Flags { get; }
    Property Value
    Type Description
    JacobianFlags

    HasColliderKeys

    Declaration
    public bool HasColliderKeys { get; }
    Property Value
    Type Description
    System.Boolean

    HasMassFactors

    Declaration
    public bool HasMassFactors { get; }
    Property Value
    Type Description
    System.Boolean

    HasMaxImpulse

    Declaration
    public bool HasMaxImpulse { get; }
    Property Value
    Type Description
    System.Boolean

    HasSurfaceVelocity

    Declaration
    public bool HasSurfaceVelocity { get; }
    Property Value
    Type Description
    System.Boolean

    MassFactors

    Declaration
    public MassFactors MassFactors { get; set; }
    Property Value
    Type Description
    MassFactors

    MaxImpulse

    Declaration
    public float MaxImpulse { get; set; }
    Property Value
    Type Description
    System.Single

    SurfaceVelocity

    Declaration
    public SurfaceVelocity SurfaceVelocity { get; set; }
    Property Value
    Type Description
    SurfaceVelocity

    Type

    Declaration
    public JacobianType Type { get; }
    Property Value
    Type Description
    JacobianType

    Methods

    AccessAngularJacobian(Int32)

    Declaration
    public ContactJacAngAndVelToReachCp AccessAngularJacobian(int pointIndex)
    Parameters
    Type Name Description
    System.Int32 pointIndex
    Returns
    Type Description
    ContactJacAngAndVelToReachCp

    AccessBaseJacobian<T>()

    Declaration
    public T AccessBaseJacobian<T>()
        where T : struct
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    AccessColliderKeys()

    Declaration
    public ColliderKeyPair AccessColliderKeys()
    Returns
    Type Description
    ColliderKeyPair

    AccessMassFactors()

    Declaration
    public MassFactors AccessMassFactors()
    Returns
    Type Description
    MassFactors

    AccessMaxImpulse()

    Declaration
    public float AccessMaxImpulse()
    Returns
    Type Description
    System.Single

    AccessSurfaceVelocity()

    Declaration
    public SurfaceVelocity AccessSurfaceVelocity()
    Returns
    Type Description
    SurfaceVelocity

    CalculateSize(JacobianType, JacobianFlags, Int32)

    Declaration
    public static int CalculateSize(JacobianType type, JacobianFlags flags, int numContactPoints = 0)
    Parameters
    Type Name Description
    JacobianType type
    JacobianFlags flags
    System.Int32 numContactPoints
    Returns
    Type Description
    System.Int32

    Solve(ref MotionVelocity, ref MotionVelocity, Solver.StepInput, ref BlockStream.Writer, ref BlockStream.Writer)

    Declaration
    public void Solve(ref MotionVelocity velocityA, ref MotionVelocity velocityB, Solver.StepInput stepInput, ref BlockStream.Writer collisionEventsWriter, ref BlockStream.Writer triggerEventsWriter)
    Parameters
    Type Name Description
    MotionVelocity velocityA
    MotionVelocity velocityB
    Solver.StepInput stepInput
    BlockStream.Writer collisionEventsWriter
    BlockStream.Writer triggerEventsWriter
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023