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 Tizen.NUI.Scene3D.ModelNode's Position / Orientation / Scale, or each components. BlendShapeIndex will be used for control some blend shape animation.

C#
Copy
public class MotionIndex : BaseHandle, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
MotionIndex
Derived
Implements
System.ComponentModel.INotifyPropertyChanged
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
C#
Copy
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
C#
Copy
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.

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable