Class MotionTransformIndex
Definition
- Assembly:
- Tizen.NUI.Scene3D.dll
Specialized MotionIndex to control transform. It will be used when app developer doesn't care about Property index list, but want to change the transform properties anyway fast enough.
C#Copypublic class MotionTransformIndex : MotionIndex, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Remarks
Each TransformTypes has their own matched MotionValue type.
Examples
CopyMotionTransformIndex position = new MotionTransformIndex(new PropertyKey("nodeName"), MotionTransformIndex.TransformTypes.Position); // We can change the property later. MotionTransformIndex orientation = new MotionTransformIndex(); orientation.ModelNodeId = new PropertyKey("nodeName"); orientation.TransformType = MotionTransformIndex.TransformTypes.Orientation;
Constructors
Declaration
C#Copypublic MotionTransformIndex()
Remarks
Each TransformTypes has their own matched MotionValue type.
MotionTransformIndex(string, TransformTypes)
Create an initialized motion transform index with given node string ID, and transform type.
Declaration
C#Copypublic MotionTransformIndex(string modelNodeName, MotionTransformIndex.TransformTypes transformType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | modelNodeName | Node string ID for this motion index |
| MotionTransformIndex.TransformTypes | transformType | Transform property type for this motion index |
Remarks
Each TransformTypes has their own matched MotionValue type.
MotionTransformIndex(PropertyKey, TransformTypes)
Create an initialized motion transform index with given node ID and transform type.
Declaration
C#Copypublic MotionTransformIndex(PropertyKey modelNodeId, MotionTransformIndex.TransformTypes transformType)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyKey | modelNodeId | Node ID for this motion index |
| MotionTransformIndex.TransformTypes | transformType | Transform property type for this motion index |
Remarks
Each TransformTypes has their own matched MotionValue type.
Declaration
C#Copypublic MotionTransformIndex(MotionTransformIndex motionTransformIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| MotionTransformIndex | motionTransformIndex | Source object to copy. |
Remarks
Each TransformTypes has their own matched MotionValue type.
Properties
Declaration
C#Copypublic MotionTransformIndex.TransformTypes TransformType { get; set; }
Property Value
| Type | Description |
|---|---|
| MotionTransformIndex.TransformTypes |
Remarks
Each TransformTypes has their own matched MotionValue type.