Struct NoiseSettings.NoiseParams | Cinemachine | 2.5.0
docs.unity3d.com
    Show / Hide Table of Contents

    Struct NoiseSettings.NoiseParams

    Describes the behaviour for a channel of noise

    Namespace: Cinemachine
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    [Serializable]
    public struct NoiseParams

    Fields

    Amplitude

    The amplitude of the noise for this channel. Larger numbers vibrate higher

    Declaration
    [Tooltip("The amplitude of the noise for this channel.  Larger numbers vibrate higher.")]
    public float Amplitude
    Field Value
    Type Description
    Single

    Constant

    If checked, then the amplitude and frequency will not be randomized

    Declaration
    [Tooltip("If checked, then the amplitude and frequency will not be randomized.")]
    public bool Constant
    Field Value
    Type Description
    Boolean

    Frequency

    The frequency of noise for this channel. Higher magnitudes vibrate faster

    Declaration
    [Tooltip("The frequency of noise for this channel.  Higher magnitudes vibrate faster.")]
    public float Frequency
    Field Value
    Type Description
    Single

    Methods

    GetValueAt(Single, Single)

    Get the signal value at a given time, offset by a given amount

    Declaration
    public float GetValueAt(float time, float timeOffset)
    Parameters
    Type Name Description
    Single time
    Single timeOffset
    Returns
    Type Description
    Single
    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