LoadModelResult.GetLoadedResourceOfType 메서드

정의

오버로드

GetLoadedResourceOfType(ObjectType)

이 모델의 일부로 로드된 지정된 형식의 모든 리소스를 검색합니다.

GetLoadedResourceOfType(ObjectType, List<ResourceBase>)

GetLoadedResourceOfType(ObjectType)

이 모델의 일부로 로드된 지정된 형식의 모든 리소스를 검색합니다.

public:
 System::Collections::Generic::IReadOnlyList<Microsoft::Azure::RemoteRendering::ResourceBase ^> ^ GetLoadedResourceOfType(Microsoft::Azure::RemoteRendering::ObjectType type);
public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.RemoteRendering.ResourceBase> GetLoadedResourceOfType (Microsoft.Azure.RemoteRendering.ObjectType type);
member this.GetLoadedResourceOfType : Microsoft.Azure.RemoteRendering.ObjectType -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.RemoteRendering.ResourceBase>
Public Function GetLoadedResourceOfType (type As ObjectType) As IReadOnlyList(Of ResourceBase)

매개 변수

type
ObjectType

요청된 형식은 또는 Material와 같은 유효한 리소스 형식을 Mesh 지정해야 합니다.

반환

설명

InvalidType'type'이 지정된 범위를 벗어나면 오류가 발생합니다.

적용 대상

GetLoadedResourceOfType(ObjectType, List<ResourceBase>)

public:
 void GetLoadedResourceOfType(Microsoft::Azure::RemoteRendering::ObjectType type, System::Collections::Generic::List<Microsoft::Azure::RemoteRendering::ResourceBase ^> ^ resultList);
public void GetLoadedResourceOfType (Microsoft.Azure.RemoteRendering.ObjectType type, System.Collections.Generic.List<Microsoft.Azure.RemoteRendering.ResourceBase> resultList);
member this.GetLoadedResourceOfType : Microsoft.Azure.RemoteRendering.ObjectType * System.Collections.Generic.List<Microsoft.Azure.RemoteRendering.ResourceBase> -> unit
Public Sub GetLoadedResourceOfType (type As ObjectType, resultList As List(Of ResourceBase))

매개 변수

type
ObjectType
resultList
List<ResourceBase>

적용 대상