hubsclient.avatar#

Module Contents#

Classes#

API#

class hubsclient.avatar.AvatarType(*args, **kwds)#

Bases: enum.Enum

SKINNABLE = 'skinnable'#
GLTF = 'gltf'#
IMAGE = 'image'#
VIDEO = 'video'#
AUDIO = 'audio'#
MODEL = 'model'#
TEXT = 'text'#
LIGHT = 'light'#
PARTICLE = 'particle'#
PRIMITIVE = 'primitive'#
UNKNOWN = 'unknown'#
class hubsclient.avatar.HandPose(*args, **kwds)#

Bases: enum.Enum

allOpen = 0#
thumbDown = 1#
indexDown = 2#
mrpDown = 3#
thumbsUp = 4#
point = 5#
allGrip = 6#
pinch = 7#
class hubsclient.avatar.Transform#
position: hubsclient.utils.Vector3 = None#
rotation: hubsclient.utils.Rotation = None#
scale: hubsclient.utils.Vector3 = None#
class hubsclient.avatar.HandTransform#

Bases: hubsclient.avatar.Transform

pose: hubsclient.avatar.HandPose = None#
visible: bool = False#
class hubsclient.avatar.Avatar#

Bases: hubsclient.naf.NAF

avatar_url: str = <Multiline-String>#
position: hubsclient.utils.Vector3 = None#
rotation: hubsclient.utils.Rotation = None#
scale: hubsclient.utils.Vector3 = None#
template: str = '#remote-avatar'#
avatar_type: hubsclient.avatar.AvatarType = None#
muted: bool = True#
sharing_avatar_camera: bool = False#
lefthand: hubsclient.avatar.HandTransform = None#
righthand: hubsclient.avatar.HandTransform = None#
head_transform: hubsclient.avatar.Transform = None#
property components: list#