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#Copypublic class MotionTransformIndex : MotionIndex, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
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()
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#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 |
API Level: 11
View Source
MotionTransformIndex(PropertyKey, MotionTransformIndex.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 |
API Level: 11
Declaration
C#Copypublic MotionTransformIndex(MotionTransformIndex motionTransformIndex)
Parameters
Type | Name | Description |
---|---|---|
MotionTransformIndex | motionTransformIndex | Source object to copy. |
API Level: 11
Properties
Declaration
C#Copypublic MotionTransformIndex.TransformTypes TransformType { get; set; }
Property Value
Type | Description |
---|---|
MotionTransformIndex.TransformTypes |
API Level: 11
Methods
Declaration
C#Copyprotected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.InteropServices.HandleRef | swigCPtr |