{!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} Class CinemachineImpulseDefinition | Cinemachine | 2.3.5-preview.3
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class CinemachineImpulseDefinition

    Definition of an impulse signal that gets propagated to listeners.

    Here you provide a Raw Signal source, and define an envelope for time-scaling it to craft the complete Impulse signal shape. Also, you provide here parameters that define how the signal dissipates with spatial distance from the source location. Finally, you specify the Impulse Channel on which the signal will be sent.

    An API method is provided here to take these parameters, create an Impulse Event, and broadcast it on the channel.

    When creating a custom Impulse Source class, you will have an instance of this class as a field in your custom class. Be sure also to include the [CinemachineImpulseDefinition] attribute on the field, to get the right property drawer for it.

    상속
    object
    CinemachineImpulseDefinition
    상속된 멤버
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: Cinemachine
    어셈블리: solution.dll
    구문
    [DocumentationSorting(DocumentationSortingAttribute.Level.API)]
    [Serializable]
    public class CinemachineImpulseDefinition

    필드

    이름 설명
    m_AmplitudeGain

    Gain to apply to the amplitudes defined in the signal source asset.

    m_DirectionMode

    How the signal direction behaves as the listener moves away from the origin.

    m_DissipationDistance

    At this distance beyond the impact radius, the signal will have dissipated to zero.

    m_DissipationMode

    This defines how the signal will dissipate with distance beyond the impact radius.

    m_FrequencyGain

    Scale factor to apply to the time axis.

    m_ImpactRadius

    The signal will have full amplitude in this radius surrounding the impact point.
    Beyond that it will dissipate with distance.

    m_ImpulseChannel

    Impulse events generated here will appear on the channels included in the mask.

    m_Randomize

    Randomize the signal start time

    m_RawSignal

    Defines the signal that will be generated.

    m_RepeatMode

    How to fit the signal into the envelope time

    m_TimeEnvelope

    This defines the time-envelope of the signal.
    The raw signal will be time-scaled to fit in the envelope.

    메서드

    이름 설명
    CreateEvent(Vector3, Vector3)

    Generate an impulse event at a location in space, and broadcast it on the appropriate impulse channel

    OnValidate()

    Call this from your behaviour's OnValidate to validate the fields here

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