C# 클래스 OpenSim.Framework.AvatarAppearance

Contains the Avatar's Appearance and methods to manipulate the appearance.
파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

공개 프로퍼티들

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

보호된 프로퍼티들

프로퍼티 타입 설명
m_attachments List>.Dictionary
m_avatarHeight float
m_hipOffset float
m_owner UUID
m_serial int
m_texture OpenMetaverse.Primitive.TextureEntry
m_visualparams byte[]
m_wearables OpenSim.Framework.AvatarWearable[]

공개 메소드들

메소드 설명
AvatarAppearance ( ) : System
AvatarAppearance ( AvatarAppearance appearance ) : System
AvatarAppearance ( AvatarAppearance appearance, bool copyWearables ) : System
AvatarAppearance ( UUID owner ) : System
AvatarAppearance ( UUID avatarID, AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
AvatarAppearance ( UUID avatarID, OSDMap map ) : System
ClearAttachments ( ) : void
ClearWearables ( ) : void
DetachAttachment ( UUID itemID ) : void
GetAssetsFrom ( AvatarAppearance app ) : void
GetAttachments ( ) : List

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

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

Create an OSDMap from the appearance data

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

Add an attachment, if the attachpoint has the 0x80 bit set then we assume this is an append operation otherwise we replace whatever is currently attached at the attachpoint

SetHeight ( ) : void
SetTextureEntries ( Primitive textureEntry ) : 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
ToString ( ) : String
Unpack ( OSDMap data ) : void

Unpack and OSDMap and initialize the appearance from it

보호된 메소드들

메소드 설명
SetDefaultParams ( ) : void
SetDefaultTexture ( ) : void
SetDefaultWearables ( ) : void

비공개 메소드들

메소드 설명
AppendAttachment ( OpenSim.Framework.AvatarAttachment attach ) : void
ReplaceAttachment ( OpenSim.Framework.AvatarAttachment attach ) : 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, AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
avatarID UUID
wearables AvatarWearable
textureEntry OpenMetaverse.Primitive
visualParams byte
리턴 System

AvatarAppearance() 공개 메소드

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

ClearAttachments() 공개 메소드

public ClearAttachments ( ) : void
리턴 void

ClearWearables() 공개 메소드

public ClearWearables ( ) : void
리턴 void

DetachAttachment() 공개 메소드

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

GetAssetsFrom() 공개 메소드

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

GetAttachments() 공개 메소드

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

GetAttachpoint() 공개 메소드

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

Pack() 공개 메소드

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

SetAppearance() 공개 메소드

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

SetAttachment() 공개 메소드

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

SetDefaultParams() 보호된 메소드

protected SetDefaultParams ( ) : void
리턴 void

SetDefaultTexture() 보호된 메소드

protected SetDefaultTexture ( ) : void
리턴 void

SetDefaultWearables() 보호된 메소드

protected SetDefaultWearables ( ) : void
리턴 void

SetHeight() 공개 메소드

public SetHeight ( ) : void
리턴 void

SetTextureEntries() 공개 메소드

Set up appearance textures. Returns boolean that indicates whether the new entries actually change the existing values.
public SetTextureEntries ( Primitive textureEntry ) : bool
textureEntry OpenMetaverse.Primitive
리턴 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

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

m_attachments 보호되어 있는 프로퍼티

protected Dictionary> m_attachments
리턴 List>.Dictionary

m_avatarHeight 보호되어 있는 프로퍼티

protected float m_avatarHeight
리턴 float

m_hipOffset 보호되어 있는 프로퍼티

protected float m_hipOffset
리턴 float

m_owner 보호되어 있는 프로퍼티

protected UUID m_owner
리턴 UUID

m_serial 보호되어 있는 프로퍼티

protected int m_serial
리턴 int

m_texture 보호되어 있는 프로퍼티

protected Primitive.TextureEntry,OpenMetaverse m_texture
리턴 OpenMetaverse.Primitive.TextureEntry

m_visualparams 보호되어 있는 프로퍼티

protected byte[] m_visualparams
리턴 byte[]

m_wearables 보호되어 있는 프로퍼티

protected AvatarWearable[],OpenSim.Framework m_wearables
리턴 OpenSim.Framework.AvatarWearable[]