Class Avatar
Definition
- Assembly:
- Tizen.AIAvatar.dll
Avatar is a Class to show 3D avatar objects. It is subclass of Model s.t. we can control Avatar like models animation easly. For example,
Avatar supports AR Emoji.
public class Avatar : Model, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceAvatar()
Create an initialized AvatarModel.
Declaration
public Avatar()
Avatar(string, string)
Create an initialized Avatar.
Declaration
public Avatar(string avatarUrl, string resourceDirectoryUrl = "")
Parameters
Type | Name | Description |
---|---|---|
string | avatarUrl | |
string | resourceDirectoryUrl | The url to derectory containing resources: binary, image etc. |
Remarks
If resourceDirectoryUrl is empty, the parent directory url of avatarUrl is used for resource url.
http://tizen.org/privilege/mediastorage for local files in media storage. http://tizen.org/privilege/externalstorage for local files in external storage.
Avatar(Avatar)
Copy constructor.
Declaration
public Avatar(Avatar avatar)
Parameters
Type | Name | Description |
---|---|---|
Avatar | avatar | Source object to copy. |
Avatar(AvatarInfo)
Create an initialized AREmojiDefaultAvatar.
Declaration
public Avatar(AvatarInfo avatarInfo)
Parameters
Type | Name | Description |
---|---|---|
AvatarInfo | avatarInfo |
Properties
View SourceAvatarProperties
Declaration
public AvatarProperties AvatarProperties { get; set; }
Property Value
Type | Description |
---|---|
AvatarProperties |
Implements
System.IDisposable