docs.unity.cn
    Show / Hide Table of Contents

    Interface IPropertyPreview

    Implement this interface in a PlayableAsset to specify which properties will be modified when Timeline is in preview mode.

    Namespace: UnityEngine.Timeline
    Syntax
    public interface IPropertyPreview

    Methods

    GatherProperties(PlayableDirector, IPropertyCollector)

    Called by the Timeline Editor to gather properties requiring preview.

    Declaration
    void GatherProperties(PlayableDirector director, IPropertyCollector driver)
    Parameters
    Type Name Description
    PlayableDirector director

    The PlayableDirector invoking the preview

    IPropertyCollector driver

    PropertyCollector used to gather previewable properties

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023