C# 클래스 WhiteCore.Framework.ClientInterfaces.AvatarAppearance

Contains the Avatar's Appearance and methods to manipulate the appearance.
상속: WhiteCore.Framework.Modules.IDataTransferable
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BAKE_INDICES byte[]
TEXTURE_COUNT int
VISUALPARAM_COUNT int

공개 메소드들

메소드 설명
AvatarAppearance ( ) : System
AvatarAppearance ( AvatarAppearance appearance ) : System
AvatarAppearance ( AvatarAppearance appearance, bool copyWearables ) : System
AvatarAppearance ( UUID owner ) : System
AvatarAppearance ( UUID avatarID, WhiteCore.Framework.ClientInterfaces.AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
AvatarAppearance ( UUID avatarID, OSDMap map ) : System
CheckWhetherAttachmentChanged ( int attPnt, UUID item, UUID assetID ) : bool

Returns whether an attachment will require a save to the avatar service

ClearAttachments ( ) : void
ClearWearables ( ) : void
DetachAttachment ( UUID itemID ) : bool
FromOSD ( OSDMap map ) : void
GetAssetsFrom ( AvatarAppearance app ) : void
GetAttachments ( ) : List

Get a list of the attachments, note that there may be duplicate attach points

GetAttachmentsDictionary ( ) : List>.Dictionary

Get a list of the attachments, note that there may be duplicate attach points

GetAttachpoint ( UUID itemID ) : int
Pack ( ) : OSDMap

Create an OSDMap from the appearance data

ResetAppearance ( ) : void
SetAppearance ( Primitive textureEntry, byte visualParams ) : void
SetAttachment ( int attachpoint, UUID item, UUID asset ) : bool

DEPRECATED: USE SetAttachments now Add an attachment, if the attach point has the 0x80 bit set then we assume this is an append operation otherwise we replace whatever is currently attached at the attach point

SetAttachments ( ISceneEntity attachments ) : void
SetCachedWearables ( PresenceInfo wearables ) : void
SetDefaultWearables ( ) : void
SetHeight ( ) : void
SetSize ( Vector3 avSize ) : void
SetTextureEntries ( Primitive textureEntry, List &ChangedTextures ) : bool

Set up appearance textures. Returns Boolean that indicates whether the new entries actually change the existing values.

SetVisualParams ( byte visualParams ) : bool

Set up visual parameters for the avatar and refresh the avatar height Returns Boolean that indicates whether the new entries actually change the existing values.

SetWearable ( int wearableId, AvatarWearable wearable ) : void
ToOSD ( ) : OSDMap
ToString ( ) : string
Unpack ( OSDMap data ) : void

Unpack and OSDMap and initialize the appearance from it

비공개 메소드들

메소드 설명
AppendAttachment ( WhiteCore.Framework.ClientInterfaces.AvatarAttachment attach ) : void
ReplaceAttachment ( AvatarAttachment attach ) : bool

Replace the attachment

SetDefaultParams ( ) : void
SetDefaultTexture ( ) : void

메소드 상세

AvatarAppearance() 공개 메소드

public AvatarAppearance ( ) : System
리턴 System

AvatarAppearance() 공개 메소드

public AvatarAppearance ( AvatarAppearance appearance ) : System
appearance AvatarAppearance
리턴 System

AvatarAppearance() 공개 메소드

public AvatarAppearance ( AvatarAppearance appearance, bool copyWearables ) : System
appearance AvatarAppearance
copyWearables bool
리턴 System

AvatarAppearance() 공개 메소드

public AvatarAppearance ( UUID owner ) : System
owner UUID
리턴 System

AvatarAppearance() 공개 메소드

public AvatarAppearance ( UUID avatarID, WhiteCore.Framework.ClientInterfaces.AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
avatarID UUID
wearables WhiteCore.Framework.ClientInterfaces.AvatarWearable
textureEntry OpenMetaverse.Primitive
visualParams byte
리턴 System

AvatarAppearance() 공개 메소드

public AvatarAppearance ( UUID avatarID, OSDMap map ) : System
avatarID UUID
map OSDMap
리턴 System

CheckWhetherAttachmentChanged() 공개 메소드

Returns whether an attachment will require a save to the avatar service
public CheckWhetherAttachmentChanged ( int attPnt, UUID item, UUID assetID ) : bool
attPnt int
item UUID
assetID UUID
리턴 bool

ClearAttachments() 공개 메소드

public ClearAttachments ( ) : void
리턴 void

ClearWearables() 공개 메소드

public ClearWearables ( ) : void
리턴 void

DetachAttachment() 공개 메소드

public DetachAttachment ( UUID itemID ) : bool
itemID UUID
리턴 bool

FromOSD() 공개 메소드

public FromOSD ( OSDMap map ) : void
map OSDMap
리턴 void

GetAssetsFrom() 공개 메소드

public GetAssetsFrom ( AvatarAppearance app ) : void
app AvatarAppearance
리턴 void

GetAttachments() 공개 메소드

Get a list of the attachments, note that there may be duplicate attach points
public GetAttachments ( ) : List
리턴 List

GetAttachmentsDictionary() 공개 메소드

Get a list of the attachments, note that there may be duplicate attach points
public GetAttachmentsDictionary ( ) : List>.Dictionary
리턴 List>.Dictionary

GetAttachpoint() 공개 메소드

public GetAttachpoint ( UUID itemID ) : int
itemID UUID
리턴 int

Pack() 공개 메소드

Create an OSDMap from the appearance data
public Pack ( ) : OSDMap
리턴 OSDMap

ResetAppearance() 공개 메소드

public ResetAppearance ( ) : void
리턴 void

SetAppearance() 공개 메소드

public SetAppearance ( Primitive textureEntry, byte visualParams ) : void
textureEntry Primitive
visualParams byte
리턴 void

SetAttachment() 공개 메소드

DEPRECATED: USE SetAttachments now Add an attachment, if the attach point has the 0x80 bit set then we assume this is an append operation otherwise we replace whatever is currently attached at the attach point
public SetAttachment ( int attachpoint, UUID item, UUID asset ) : bool
attachpoint int
item UUID
asset UUID
리턴 bool

SetAttachments() 공개 메소드

public SetAttachments ( ISceneEntity attachments ) : void
attachments ISceneEntity
리턴 void

SetCachedWearables() 공개 메소드

public SetCachedWearables ( PresenceInfo wearables ) : void
wearables PresenceInfo
리턴 void

SetDefaultWearables() 공개 메소드

public SetDefaultWearables ( ) : void
리턴 void

SetHeight() 공개 메소드

public SetHeight ( ) : void
리턴 void

SetSize() 공개 메소드

public SetSize ( Vector3 avSize ) : void
avSize Vector3
리턴 void

SetTextureEntries() 공개 메소드

Set up appearance textures. Returns Boolean that indicates whether the new entries actually change the existing values.
public SetTextureEntries ( Primitive textureEntry, List &ChangedTextures ) : bool
textureEntry Primitive
ChangedTextures List
리턴 bool

SetVisualParams() 공개 메소드

Set up visual parameters for the avatar and refresh the avatar height Returns Boolean that indicates whether the new entries actually change the existing values.
public SetVisualParams ( byte visualParams ) : bool
visualParams byte
리턴 bool

SetWearable() 공개 메소드

public SetWearable ( int wearableId, AvatarWearable wearable ) : void
wearableId int
wearable AvatarWearable
리턴 void

ToOSD() 공개 메소드

public ToOSD ( ) : OSDMap
리턴 OSDMap

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Unpack() 공개 메소드

Unpack and OSDMap and initialize the appearance from it
public Unpack ( OSDMap data ) : void
data OSDMap
리턴 void

프로퍼티 상세

BAKE_INDICES 공개적으로 정적으로 프로퍼티

public static byte[] BAKE_INDICES
리턴 byte[]

TEXTURE_COUNT 공개적으로 정적으로 프로퍼티

public static int TEXTURE_COUNT
리턴 int

VISUALPARAM_COUNT 공개적으로 정적으로 프로퍼티

public static int VISUALPARAM_COUNT
리턴 int