docs.unity.cn
    Show / Hide Table of Contents

    Struct NoiseSettings.TransformNoiseParams

    Contains the behaviour of noise for the noise module for all 3 cardinal axes of the camera

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

    Fields

    X

    Noise definition for X-axis

    Declaration
    [Tooltip("Noise definition for X-axis")]
    public NoiseSettings.NoiseParams X
    Field Value
    Type Description
    NoiseSettings.NoiseParams

    Y

    Noise definition for Y-axis

    Declaration
    [Tooltip("Noise definition for Y-axis")]
    public NoiseSettings.NoiseParams Y
    Field Value
    Type Description
    NoiseSettings.NoiseParams

    Z

    Noise definition for Z-axis

    Declaration
    [Tooltip("Noise definition for Z-axis")]
    public NoiseSettings.NoiseParams Z
    Field Value
    Type Description
    NoiseSettings.NoiseParams

    Methods

    GetValueAt(Single, Vector3)

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

    Declaration
    public Vector3 GetValueAt(float time, Vector3 timeOffsets)
    Parameters
    Type Name Description
    Single time

    The current time

    Vector3 timeOffsets

    The (unscaled) offsets (per-channel) to add to the current time

    Returns
    Type Description
    Vector3

    Value of the signal at desired time

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 8, 2023