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.
public class MotionTransformIndex : MotionIndex, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementMotionTransformIndex
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Remarks
Each TransformTypes has their own matched MotionValue type.
Examples
MotionTransformIndex 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
View SourceMotionTransformIndex()
Create an initialized motion transform index.
Declaration
public 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
public 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
public 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.
MotionTransformIndex(MotionTransformIndex)
Copy constructor.
Declaration
public MotionTransformIndex(MotionTransformIndex motionTransformIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| MotionTransformIndex | motionTransformIndex | Source object to copy. |
Remarks
Each TransformTypes has their own matched MotionValue type.
Properties
View SourceTransformType
The transform property type what this MotionIndex want to control.
Declaration
public MotionTransformIndex.TransformTypes TransformType { get; set; }
Property Value
| Type | Description |
|---|---|
| MotionTransformIndex.TransformTypes |
Remarks
Each TransformTypes has their own matched MotionValue type.