docs.unity.cn
    Show / Hide Table of Contents

    Struct PhysicsGravityFactor

    Optional gravity factor applied to a rigid body during each simulation step. This scales the gravity vector supplied to the simulation step.

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

    Fields

    Value

    The value.

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