Class MotionTransformIndex

Definition

Namespace:
Tizen.NUI.Scene3D
Assembly:
Tizen.NUI.Scene3D.dll
API Level:
11

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, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements
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()
API Level: 11
View Source

MotionTransformIndex(String, MotionTransformIndex.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

API Level: 11
View Source

MotionTransformIndex(PropertyKey, MotionTransformIndex.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

API Level: 11
View Source

MotionTransformIndex(MotionTransformIndex)

Copy constructor.

Declaration
C#
Copy
public MotionTransformIndex(MotionTransformIndex motionTransformIndex)
Parameters
Type Name Description
MotionTransformIndex motionTransformIndex

Source object to copy.

API Level: 11

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
API Level: 11

Methods

View Source

ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

Release swigCPtr.

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Implements

Extension Methods