Class MotionIndex

    Definition

    Namespace:
    Tizen.NUI.Scene3D
    Assembly:
    Tizen.NUI.Scene3D.dll

    Index of motion value. It will be used to specify the target of motion applied. There are three kinds of MotionIndex : MotionPropertyIndex, MotionTransformIndex and BlendShapeIndex. MotionPropertyIndex will be used for control all kind of properties. The MotionData loaded from files / buffer will have this kind of MotionIndex. MotionTransformIndex will be used for control the ModelNode's Position / Orientation / Scale, or each components. BlendShapeIndex will be used for control some blend shape animation.

    public class MotionIndex : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    MotionIndex
    Derived
    BlendShapeIndex
    MotionPropertyIndex
    MotionTransformIndex
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    Remarks

    We can use below cases.

    ModelNodeId KeyTypeMotionIndex class Description
    KeyType.String MotionTransformIndex Target is ModelNode's transform property
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.Index) Target is ModelNode's BlendShape
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.String)Target is ModelNode's BlendShape
    (null) BlendShapeIndex (with BlendShapeId KeyType.String)Target is all ModelNode's BlendShape
    All other cases are invalid.

    Constructors

    View Source

    MotionIndex(MotionIndex)

    Copy constructor.

    Declaration
    public MotionIndex(MotionIndex motionIndex)
    Parameters
    Type Name Description
    MotionIndex motionIndex

    Source object to copy.

    Remarks

    We can use below cases.

    ModelNodeId KeyTypeMotionIndex class Description
    KeyType.String MotionTransformIndex Target is ModelNode's transform property
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.Index) Target is ModelNode's BlendShape
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.String)Target is ModelNode's BlendShape
    (null) BlendShapeIndex (with BlendShapeId KeyType.String)Target is all ModelNode's BlendShape
    All other cases are invalid.

    Properties

    View Source

    ModelNodeId

    The ID of ModelNode. If you want to apply to all ModelNodes who has BlendShape string, assign null.

    Declaration
    public PropertyKey ModelNodeId { get; set; }
    Property Value
    Type Description
    PropertyKey
    Remarks

    We can use below cases.

    ModelNodeId KeyTypeMotionIndex class Description
    KeyType.String MotionTransformIndex Target is ModelNode's transform property
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.Index) Target is ModelNode's BlendShape
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.String)Target is ModelNode's BlendShape
    (null) BlendShapeIndex (with BlendShapeId KeyType.String)Target is all ModelNode's BlendShape
    All other cases are invalid.

    Methods

    View Source

    ReleaseSwigCPtr(HandleRef)

    Release swigCPtr.

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Remarks

    We can use below cases.

    ModelNodeId KeyTypeMotionIndex class Description
    KeyType.String MotionTransformIndex Target is ModelNode's transform property
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.Index) Target is ModelNode's BlendShape
    KeyType.String BlendShapeIndex (with BlendShapeId KeyType.String)Target is ModelNode's BlendShape
    (null) BlendShapeIndex (with BlendShapeId KeyType.String)Target is all ModelNode's BlendShape
    All other cases are invalid.

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX