Class AvatarJointTransformIndex
Definition
- Assembly:
- Tizen.AIAvatar.dll
Specialized MotionTransformIndex to control avatar joint transform.
public class AvatarJointTransformIndex : MotionTransformIndex, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
- Implements
-
System.IDisposable
Examples
AvatarJointTransformIndex position = new AvatarJointTransformIndex(avatar.JointMapper, JointType.Head, MotionTransformIndex.TransformTypes.Position);
// We can change the property later.
AvatarJointTransformIndex orientation = new AvatarJointTransformIndex(avatar.JointMapper);
orientation.AvatarJointType = (uint)JointType.Neck;
orientation.TransformType = MotionTransformIndex.TransformTypes.Orientation;
Constructors
View SourceAvatarJointTransformIndex(AvatarPropertyMapper, uint, TransformTypes)
Create an initialized avatar joint transform index with input node id, and transform type.
Declaration
public AvatarJointTransformIndex(AvatarPropertyMapper mapper, uint jointType, MotionTransformIndex.TransformTypes transformType)
Parameters
Type | Name | Description |
---|---|---|
AvatarPropertyMapper | mapper | Name mapper for this index |
uint | jointType | Type of joint for this motion index |
MotionTransformIndex.TransformTypes | transformType | Transform property type for this motion index |
AvatarJointTransformIndex(AvatarPropertyMapper, PropertyKey, TransformTypes)
Create an initialized avatar joint transform index with input node id, and transform type.
Declaration
public AvatarJointTransformIndex(AvatarPropertyMapper mapper, PropertyKey modelNodeId, MotionTransformIndex.TransformTypes transformType)
Parameters
Type | Name | Description |
---|---|---|
AvatarPropertyMapper | mapper | Name mapper for this index |
PropertyKey | modelNodeId | Node ID for this motion index |
MotionTransformIndex.TransformTypes | transformType | Transform property type for this motion index |
AvatarJointTransformIndex(AvatarPropertyMapper)
Create an initialized avatar joint transform index.
Declaration
public AvatarJointTransformIndex(AvatarPropertyMapper mapper)
Parameters
Type | Name | Description |
---|---|---|
AvatarPropertyMapper | mapper | Name mapper for this index |
Properties
View SourceAvatarJointType
TODO : Explain me
Declaration
public uint AvatarJointType { get; set; }
Property Value
Type | Description |
---|---|
uint |
ModelNodeId
Hijack property to control Avatar specified logic.
Declaration
public PropertyKey ModelNodeId { 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