Class AvatarBlendShapeIndex
Definition
- Assembly:
- Tizen.AIAvatar.dll
Specialized BlendShapeIndex to control avatar blend shape.
public class AvatarBlendShapeIndex : BlendShapeIndex, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
- Implements
-
System.IDisposable
Examples
AvatarBlendShapeIndex leftEyeBlink = new AvatarBlendShapeIndex(avatar.BlendShapeMapper, BlendShapeType.EyeBlinkLeft);
// We can change the property later.
AVatarBlendShapeIndex rightEyeBlink = new AvatarJointTransformIndex(avatar.BlendShapeMapper);
rightEyeBlink.AvatarBlendShapeType = (uint)BlendShapeType.EyeBlinkRight;
Constructors
View SourceAvatarBlendShapeIndex(AvatarPropertyMapper, uint)
Declaration
public AvatarBlendShapeIndex(AvatarPropertyMapper mapper, uint blendShapeType)
Parameters
Type | Name | Description |
---|---|---|
AvatarPropertyMapper | mapper | Name mapper for this index |
uint | blendShapeType | Type of blend shape for this motion index |
AvatarBlendShapeIndex(AvatarPropertyMapper, PropertyKey)
Create an initialized avatar blend shape index with input blend shape ID.
Declaration
public AvatarBlendShapeIndex(AvatarPropertyMapper mapper, PropertyKey blendShapeId)
Parameters
Type | Name | Description |
---|---|---|
AvatarPropertyMapper | mapper | Name mapper for this index |
PropertyKey | blendShapeId | Blend shape ID for this motion index |
AvatarBlendShapeIndex(AvatarPropertyMapper)
Create an initialized avatar blend shape index.
Declaration
public AvatarBlendShapeIndex(AvatarPropertyMapper mapper)
Parameters
Type | Name | Description |
---|---|---|
AvatarPropertyMapper | mapper | Name mapper for this index |
Properties
View SourceAvatarBlendShapeType
TODO : Explain me
Declaration
public uint AvatarBlendShapeType { get; set; }
Property Value
Type | Description |
---|---|
uint |
BlendShapeId
Hijack property to control Avatar specified logic.
Declaration
public PropertyKey BlendShapeId { get; set; }
Property Value
Type | Description |
---|---|
PropertyKey |
NameMapper
TODO : Explain me
Declaration
public AvatarPropertyMapper NameMapper { get; set; }
Property Value
Type | Description |
---|---|
AvatarPropertyMapper |
Implements
System.IDisposable