Class MotionTransformIndex

Definition

Namespace:
Tizen.NUI.Scene3D
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#
Copy
public class MotionTransformIndex : MotionIndex, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
MotionTransformIndex
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
Remarks

Each TransformTypes has their own matched MotionValue type.

Examples
Copy
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 Source

MotionTransformIndex()

Create an initialized motion transform index.

Declaration
C#
Copy
public MotionTransformIndex()
Remarks

Each TransformTypes has their own matched MotionValue type.

View Source

MotionTransformIndex(string, TransformTypes)

Create an initialized motion transform index with given node string ID, and transform type.

Declaration
C#
Copy
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.

View Source

MotionTransformIndex(PropertyKey, TransformTypes)

Create an initialized motion transform index with given node ID and transform type.

Declaration
C#
Copy
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.

View Source

MotionTransformIndex(MotionTransformIndex)

Copy constructor.

Declaration
C#
Copy
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 Source

TransformType

The transform property type what this MotionIndex want to control.

Declaration
C#
Copy
public MotionTransformIndex.TransformTypes TransformType { get; set; }
Property Value
Type Description
MotionTransformIndex.TransformTypes
Remarks

Each TransformTypes has their own matched MotionValue type.

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable