Interface IMotionSynthesizerProvider | Kinematica | 0.8.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Interface IMotionSynthesizerProvider

    Interface to provide a reference to a Kinematica motion synthesizer. This interface should be implemented by all MonoBehaviours that use Kinematica, so that Kinematica tools (task graph, debugger) can have access to the synthesizer associated to the component

    Implementing an interface is more flexible than inheriting a component with a strong reference to the motion synthesizer. It allows for example to not store directly the synthesizer inside the component, which can be useful if the synthesizer must be stored inside an optional playable graph the component have access to.

    Namespace: Unity.Kinematica
    Syntax
    public interface IMotionSynthesizerProvider

    Properties

    IsSynthesizerInitialized

    Declaration
    bool IsSynthesizerInitialized { get; }
    Property Value
    Type Description
    Boolean

    Synthesizer

    Return a synthesizer, it can be an invalid memory reference, indicating the provider don't provide synthesizer for the moment.

    Declaration
    MemoryRef<MotionSynthesizer> Synthesizer { get; }
    Property Value
    Type Description
    MemoryRef<MotionSynthesizer>
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Monday, August 3, 2020