NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Class EngineRunningComponent.EngineSample

    Single RPM sample with associated AudioSource.

    Inheritance
    object
    EngineRunningComponent.EngineSample
    Namespace: NWH.VehiclePhysics2.Sound.SoundComponents
    Assembly: NWH.VehiclePhysics2.dll
    Syntax
    [Serializable]
    public class EngineRunningComponent.EngineSample

    Fields

    baseRPM

    RPM at which this sample is recorded.

    Declaration
    public float baseRPM
    Field Value
    Type Description
    float

    clip

    Audio clip for this RPM range.

    Declaration
    public AudioClip clip
    Field Value
    Type Description
    AudioClip

    name

    Declaration
    [HideInInspector]
    public string name
    Field Value
    Type Description
    string

    source

    Runtime AudioSource instance.

    Declaration
    [HideInInspector]
    public AudioSource source
    Field Value
    Type Description
    AudioSource

    volume

    Volume multiplier for this sample.

    Declaration
    [Range(0, 2)]
    public float volume
    Field Value
    Type Description
    float
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics