{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct CinemachineImpulseManager.EnvelopeDefinition | Cinemachine | 2.3.5-preview.3
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Struct CinemachineImpulseManager.EnvelopeDefinition

    This defines the time-envelope of the signal. Thie raw signal will be scaled to fit inside the envelope.

    상속된 멤버
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    네임스페이스: Cinemachine
    어셈블리: solution.dll
    구문
    [Serializable]
    public struct CinemachineImpulseManager.EnvelopeDefinition

    필드

    이름 설명
    m_AttackShape

    Normalized curve defining the shape of the start of the envelope.

    m_AttackTime

    Duration in seconds of the attack. Attack curve will be scaled to fit. Must be >= 0

    m_DecayShape

    Normalized curve defining the shape of the end of the envelope.

    m_DecayTime

    Duration in seconds of the decay. Decay curve will be scaled to fit. Must be >= 0.

    m_HoldForever

    If true, then duration is infinite.

    m_ScaleWithImpact

    If checked, signal amplitude scaling will also be applied to the time envelope of the signal. Bigger signals will last longer

    m_SustainTime

    Duration in seconds of the central fully-scaled part of the envelope. Must be >= 0.

    프로퍼티

    이름 설명
    Duration

    Duration of the envelope, in seconds. If negative, then duration is infinite.

    메서드

    이름 설명
    ChangeStopTime(float, bool)

    Change the envelope so that it stops at a specific offset from its start time. Use this to extend or cut short an existing envelope, while respecting the attack and decay as much as possible.

    Clear()

    Set the envelop times to 0 and the shapes to default.

    Default()

    Get an envelope with default values.

    GetValueAt(float)

    Get the value of the tenvelope at a given time relative to the envelope start.

    Validate()

    Call from OnValidate to ensure that envelope values are sane

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)