Class MotionIndex

Definition

Namespace:
Tizen.NUI.Scene3D
Assembly:
Tizen.NUI.Scene3D.dll
API Level:
11

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.

C#
Copy
public class MotionIndex : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Derived
Implements
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
C#
Copy
public MotionIndex(MotionIndex motionIndex)
Parameters
Type Name Description
MotionIndex motionIndex

Source object to copy.

API Level: 11

Properties

View Source

ModelNodeId

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

Declaration
C#
Copy
public PropertyKey ModelNodeId { get; set; }
Property Value
Type Description
PropertyKey
API Level: 11

Methods

View Source

ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

Release swigCPtr.

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

Implements

Extension Methods