Class MotionPropertyIndex
Definition
- Namespace:
- Tizen.NUI.Scene3D
- Assembly:
- Tizen.NUI.Scene3D.dll
- API Level:
- 11
Basic MotionIndex to control Property. It can control more general case.
C#Copypublic class MotionPropertyIndex : MotionIndex, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
Examples
CopyMotionPropertyIndex color = new MotionPropertyIndex(new PropertyKey("nodeName"), new PropertyKey("color")); // We can change the property later. MotionPropertyIndex custom = newMotionPropertyIndex(); orientation.ModelNodeId = new PropertyKey("nodeName"); orientation.PropertyId = new PropertyKey("some_custom_property"); // Note that all cases of MotionTransformIndex can be controled by MotionPropertyIndex // Both position0 and position1 can control the node's Position. MotionTransformIndex position0 = new MotionTransformIndex(new PropertyKey("nodeName"), MotionTransformIndex.TransformTypes.Position); MotionPropertyIndex position1 = new MotionPropertyIndex(new PropertyKey("nodeName"), new PropertyKey("position"));
Constructors
Declaration
C#Copypublic MotionPropertyIndex()
API Level: 11
View Source
MotionPropertyIndex(String, String)
Create an initialized motion property index with given node string ID and property string ID.
Declaration
C#Copypublic MotionPropertyIndex(string modelNodeName, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
String | modelNodeName | Node string ID for this motion index |
String | propertyName | Property string ID for this motion index |
API Level: 11
View Source
MotionPropertyIndex(PropertyKey, PropertyKey)
Create an initialized motion property index with given node ID and property ID.
Declaration
C#Copypublic MotionPropertyIndex(PropertyKey modelNodeId, PropertyKey propertyId)
Parameters
Type | Name | Description |
---|---|---|
PropertyKey | modelNodeId | Node ID for this motion index |
PropertyKey | propertyId | Property ID for this motion index |
API Level: 11
Declaration
C#Copypublic MotionPropertyIndex(MotionPropertyIndex motionPropertyIndex)
Parameters
Type | Name | Description |
---|---|---|
MotionPropertyIndex | motionPropertyIndex | Source object to copy. |
API Level: 11
Properties
Declaration
C#Copypublic PropertyKey PropertyId { get; set; }
Property Value
Type | Description |
---|---|
PropertyKey |
API Level: 11
Methods
Declaration
C#Copyprotected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.InteropServices.HandleRef | swigCPtr |