Class MotionIndex
Definition
- 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.
public class MotionIndex : BaseHandle, INotifyPropertyChanged, IDisposable
- Inheritance
- Derived
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Remarks
We can use below cases.
ModelNodeId KeyType | MotionIndex 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 |
Constructors
View SourceMotionIndex(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 KeyType | MotionIndex 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 |
Properties
View SourceModelNodeId
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 KeyType | MotionIndex 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 |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable