Interface ISignalSource6D | Cinemachine | 2.5.0
docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISignalSource6D

    Interface for raw signal provider

    Namespace: Cinemachine
    Syntax
    public interface ISignalSource6D

    Properties

    SignalDuration

    Returns the length on seconds of the signal.
    Returns 0 for signals of indeterminate length.

    Declaration
    float SignalDuration { get; }
    Property Value
    Type Description
    Single

    Methods

    GetSignal(Single, out Vector3, out Quaternion)

    Get the signal value at a given time relative to signal start

    Declaration
    void GetSignal(float timeSinceSignalStart, out Vector3 pos, out Quaternion rot)
    Parameters
    Type Name Description
    Single timeSinceSignalStart

    Time since signal start. Always >= 0

    Vector3 pos

    output for position component of the signal

    Quaternion rot

    output for rotation component of the signal. Use Quaternion.identity if none.

    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