Class BlendShapeIndex
Definition
- Assembly:
- Tizen.NUI.Scene3D.dll
Specialized Motion
public class BlendShapeIndex : MotionIndex, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.
Component Model. INotify Property Changed System.IDisposable
Remarks
Motion
Examples
BlendShapeIndex blendShapeIndex0 = new BlendShapeIndex(new PropertyKey("nodeName"), new PropertyKey(0u));
BlendShapeIndex blendShapeIndex1 = new BlendShapeIndex(new PropertyKey("nodeName"), new PropertyKey("Target_1"));
// We can change the property later.
BlendShapeIndex blendShapeIndex2 = new BlendShapeIndex;
blendShapeIndex2.ModelNodeId = new PropertyKey("nodeName");
blendShapeIndex2.BlendShapeId = new PropertyKey("Target_2");
Specially, if ModelNodeId is invalid and BlendShapeId is StringKey, It will control all ModelNode that has the inputed blend shape name.
// If "node0" and "node1" has same BlendShape named "Smile",
// blendShapeIndexAll will control both nodes.
BlendShapeIndex blendShapeIndexAll = new BlendShapeIndex(new PropertyKey("Smile"));
BlendShapeIndex blendShapeIndex0 = new BlendShapeIndex(new PropertyKey("node0"), new PropertyKey("Smile"));
BlendShapeIndex blendShapeIndex1 = new BlendShapeIndex(new PropertyKey("node1"), new PropertyKey("Smile"));
Constructors
View SourceBlendShapeIndex()
Create an initialized blend shape index.
Declaration
public BlendShapeIndex()
Remarks
Motion
BlendShapeIndex(string, string)
Create an initialized blend shape index with given node string ID and blend shape string ID.
Declaration
public BlendShapeIndex(string modelNodeName, string blendShapeName)
Parameters
Type | Name | Description |
---|---|---|
string | modelNodeName | Node string ID for this motion index |
string | blendShapeName | Blend shape string ID for this motion index |
Remarks
Motion
BlendShapeIndex(string)
Create an initialized blend shape index with invalid node ID, and given blend shape string ID.
Declaration
public BlendShapeIndex(string blendShapeName)
Parameters
Type | Name | Description |
---|---|---|
string | blendShapeName | Blend shape string ID for this motion index |
Remarks
Motion
BlendShapeIndex(PropertyKey, PropertyKey)
Create an initialized blend shape index with given node ID and blend shape ID.
Declaration
public BlendShapeIndex(PropertyKey modelNodeId, PropertyKey blendShapeId)
Parameters
Type | Name | Description |
---|---|---|
Property |
modelNodeId | Node ID for this motion index |
Property |
blendShapeId | Blend shape ID for this motion index |
Remarks
Motion
BlendShapeIndex(PropertyKey)
Create an initialized blend shape index with invalid node ID, and given blend shape ID.
Declaration
public BlendShapeIndex(PropertyKey blendShapeId)
Parameters
Type | Name | Description |
---|---|---|
Property |
blendShapeId | Blend shape ID for this motion index |
Remarks
Motion
BlendShapeIndex(BlendShapeIndex)
Copy constructor.
Declaration
public BlendShapeIndex(BlendShapeIndex blendShapeIndex)
Parameters
Type | Name | Description |
---|---|---|
Blend |
blendShapeIndex | Source object to copy. |
Remarks
Motion
Properties
View SourceBlendShapeId
The key of blend shape.
Declaration
public PropertyKey BlendShapeId { get; set; }
Property Value
Type | Description |
---|---|
Property |
Remarks
Motion