Class AvatarProperties

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    The Avatar class contains an inner AvatarProperties class. This class manages AvatarProperty information using the AvatarPropertyMapper class. By default, it includes jointMapper, blendShapeMapper, and nodeMapper, which automatically generate Properties based on model information. This structure enables users to work with Avatar properties in a more convenient way.

    public class AvatarProperties
    Inheritance
    object
    AvatarProperties

    Constructors

    View Source

    AvatarProperties(AvatarPropertyMapper, AvatarPropertyMapper, AvatarPropertyMapper)

    Initializes a new instance of the AvatarProperties class with the specified joint mapper, blend shape mapper, and node mapper. These mappers are used to map between the Avatar's underlying model data and its corresponding properties.

    Declaration
    public AvatarProperties(AvatarPropertyMapper jointMapper, AvatarPropertyMapper blendShapeMapper, AvatarPropertyMapper nodeMapper)
    Parameters
    Type Name Description
    AvatarPropertyMapper jointMapper

    The AvatarPropertyMapper for joints.

    AvatarPropertyMapper blendShapeMapper

    The AvatarPropertyMapper for blend shapes.

    AvatarPropertyMapper nodeMapper

    The AvatarPropertyMapper for nodes.

    Properties

    View Source

    BlendShapeMapper

    The BlendShapeMapper property gets or sets the AvatarPropertyMapper responsible for managing blend shape information in the Avatar model.
    When setting this property, any changes made will trigger the AvatarPropertiesChanged event if it has been subscribed to.

    Declaration
    public AvatarPropertyMapper BlendShapeMapper { get; set; }
    Property Value
    Type Description
    AvatarPropertyMapper
    View Source

    JointMapper

    The JointMapper property gets or sets the AvatarPropertyMapper responsible for mapping joint information in the Avatar model. When setting this property, any changes made will trigger the AvatarPropertiesChanged event if it has been subscribed to.

    Declaration
    public AvatarPropertyMapper JointMapper { get; set; }
    Property Value
    Type Description
    AvatarPropertyMapper
    View Source

    NodeMapper

    The NodeMapper property gets or sets the AvatarPropertyMapper responsible for managing node information in the Avatar model.
    When setting this property, any changes made will trigger the AvatarPropertiesChanged event if it has been subscribed to.

    Declaration
    public AvatarPropertyMapper NodeMapper { get; set; }
    Property Value
    Type Description
    AvatarPropertyMapper

    Methods

    View Source

    CreateBlendShapeMotionIndex(NodeType, BlendShapeType)

    This method generates a MotionIndex to be used in animations based on the NodeType and BlendShapeType using the model information of an Avatar.

    Declaration
    public MotionIndex CreateBlendShapeMotionIndex(NodeType nodeType, BlendShapeType blendShapeType)
    Parameters
    Type Name Description
    NodeType nodeType

    Node type

    BlendShapeType blendShapeType

    Blend shape type

    Returns
    Type Description
    MotionIndex

    The generated MotionIndex

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX