C# 클래스 Universe.Framework.SceneInfo.UuidGatherer

Gather uuids for a given entity.
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_assetCache IAssetService
m_requestedObjectAsset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
m_waitingForObjectAsset bool

공개 메소드들

메소드 설명
GatherAssetUuids ( ISceneEntity sceneObject, AssetType>.IDictionary assetUuids ) : void

Gather all the asset uuids associated with a given object.

GatherAssetUuids ( UUID assetUuid, AssetType assetType, AssetType>.IDictionary assetUuids ) : void

Gather all the asset uuids associated with the asset referenced by a given uuid

GatherMaterialsUuids ( ISceneChildEntity part, AssetType>.IDictionary assetUuids ) : void

Gather all of the texture asset UUIDs used to reference "Materials" such as normal and specular maps

UuidGatherer ( IAssetService assetCache ) : System

보호된 메소드들

메소드 설명
AssetReceived ( string id, object sender, AssetBase asset ) : void

The callback made when we request the asset for an object from the asset service.

GetAsset ( UUID uuid ) : AssetBase

Get an asset synchronously, potentially using an asynchronous callback. If the asynchronous callback is used, we will wait for it to complete.

GetGestureAssetUuids ( UUID gestureUuid, AssetType>.IDictionary assetUuids ) : void

Get the asset uuid associated with a gesture

GetSceneObjectAssetUuids ( UUID sceneObjectUuid, AssetType>.IDictionary assetUuids ) : void

Get all the asset uuids associated with a given object. This includes both those directly associated with it (e.g. face textures) and recursively, those of items within it's inventory (e.g. objects contained within this object).

GetScriptAssetUuids ( UUID scriptUuid, AssetType>.IDictionary assetUuids ) : void

Record the asset uuids embedded within the given script.

GetWearableAssetUuids ( UUID wearableAssetUuid, AssetType>.IDictionary assetUuids ) : void

Record the uuids referenced by the given wearable asset

메소드 상세

AssetReceived() 보호된 메소드

The callback made when we request the asset for an object from the asset service.
protected AssetReceived ( string id, object sender, AssetBase asset ) : void
id string
sender object
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
리턴 void

GatherAssetUuids() 공개 메소드

Gather all the asset uuids associated with a given object.
public GatherAssetUuids ( ISceneEntity sceneObject, AssetType>.IDictionary assetUuids ) : void
sceneObject ISceneEntity The scene object for which to gather assets
assetUuids AssetType>.IDictionary The assets gathered
리턴 void

GatherAssetUuids() 공개 메소드

Gather all the asset uuids associated with the asset referenced by a given uuid
public GatherAssetUuids ( UUID assetUuid, AssetType assetType, AssetType>.IDictionary assetUuids ) : void
assetUuid UUID The uuid of the asset for which to gather referenced assets
assetType AssetType The type of the asset for the uuid given
assetUuids AssetType>.IDictionary The assets gathered
리턴 void

GatherMaterialsUuids() 공개 메소드

Gather all of the texture asset UUIDs used to reference "Materials" such as normal and specular maps
public GatherMaterialsUuids ( ISceneChildEntity part, AssetType>.IDictionary assetUuids ) : void
part ISceneChildEntity
assetUuids AssetType>.IDictionary
리턴 void

GetAsset() 보호된 메소드

Get an asset synchronously, potentially using an asynchronous callback. If the asynchronous callback is used, we will wait for it to complete.
protected GetAsset ( UUID uuid ) : AssetBase
uuid UUID
리턴 Universe.Framework.Services.ClassHelpers.Assets.AssetBase

GetGestureAssetUuids() 보호된 메소드

Get the asset uuid associated with a gesture
protected GetGestureAssetUuids ( UUID gestureUuid, AssetType>.IDictionary assetUuids ) : void
gestureUuid UUID
assetUuids AssetType>.IDictionary
리턴 void

GetSceneObjectAssetUuids() 보호된 메소드

Get all the asset uuids associated with a given object. This includes both those directly associated with it (e.g. face textures) and recursively, those of items within it's inventory (e.g. objects contained within this object).
protected GetSceneObjectAssetUuids ( UUID sceneObjectUuid, AssetType>.IDictionary assetUuids ) : void
sceneObjectUuid UUID
assetUuids AssetType>.IDictionary
리턴 void

GetScriptAssetUuids() 보호된 메소드

Record the asset uuids embedded within the given script.
protected GetScriptAssetUuids ( UUID scriptUuid, AssetType>.IDictionary assetUuids ) : void
scriptUuid UUID
assetUuids AssetType>.IDictionary Dictionary in which to record the references
리턴 void

GetWearableAssetUuids() 보호된 메소드

Record the uuids referenced by the given wearable asset
protected GetWearableAssetUuids ( UUID wearableAssetUuid, AssetType>.IDictionary assetUuids ) : void
wearableAssetUuid UUID
assetUuids AssetType>.IDictionary Dictionary in which to record the references
리턴 void

UuidGatherer() 공개 메소드

public UuidGatherer ( IAssetService assetCache ) : System
assetCache IAssetService
리턴 System

프로퍼티 상세

m_assetCache 보호되어 있는 프로퍼티

Asset cache used for gathering assets
protected IAssetService m_assetCache
리턴 IAssetService

m_requestedObjectAsset 보호되어 있는 프로퍼티

Used as a temporary store of an asset which represents an object. This can be a null if no appropriate asset was found by the asset service.
protected AssetBase,Universe.Framework.Services.ClassHelpers.Assets m_requestedObjectAsset
리턴 Universe.Framework.Services.ClassHelpers.Assets.AssetBase

m_waitingForObjectAsset 보호되어 있는 프로퍼티

Signal whether we are currently waiting for the asset service to deliver an asset.
protected bool m_waitingForObjectAsset
리턴 bool