Search Results for

    Show / Hide Table of Contents

    Class Cloth.ForceSettings

    Cloth response to forces settings.

    Inheritance
    System.Object
    Cloth.ForceSettings
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class ForceSettings : ValueType

    Fields

    AirDensity

    Defines fluid density of air used for drag and lift calculations.

    Declaration
    [Limit(0F, 3.40282347E+38F, 1F)]
    public float AirDensity
    Field Value
    System.Single

    AirDragCoefficient

    Defines how much drag air applies to the cloth particles. Set to 0 to disable wind.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float AirDragCoefficient
    Field Value
    System.Single

    AirLiftCoefficient

    Defines how much lift air applies to the cloth particles. Set to 0 to disable wind.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float AirLiftCoefficient
    Field Value
    System.Single

    AngularDrag

    Portion of angular velocity applied to turning cloth particles. 0: cloth particles are unaffected. 1: damped global cloth particle angular velocity.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float AngularDrag
    Field Value
    System.Single

    AngularInertia

    Portion of angular acceleration applied to turning cloth particles. 0: cloth particles are unaffected. 1: physically correct angular acceleration.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float AngularInertia
    Field Value
    System.Single

    CentrifugalInertia

    Portion of angular velocity applied to turning cloth particles. 0: cloth particles are unaffected. 1: physically correct angular velocity.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float CentrifugalInertia
    Field Value
    System.Single

    Damping

    Damping of cloth particle velocity. 0: velocity is unaffected. 1: velocity is zeroed.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float Damping
    Field Value
    System.Single

    GravityScale

    Scale multiplier applied to the gravity of cloth particles (scales the global gravity force).

    Declaration
    public float GravityScale
    Field Value
    System.Single

    LinearDrag

    Portion of velocity applied to cloth particles. 0: cloth particles are unaffected. 1: damped global cloth particle velocity.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float LinearDrag
    Field Value
    System.Single

    LinearInertia

    Portion of linear acceleration applied to cloth particles. 0: cloth particles are unaffected. 1: physically correct linear acceleration.

    Declaration
    [Limit(0F, 1F, 1F)]
    public float LinearInertia
    Field Value
    System.Single

    Properties

    Default

    The default Cloth.ForceSettings.

    Declaration
    public static Cloth.ForceSettings Default { get; }
    Property Value
    Cloth.ForceSettings

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat