Condividi tramite


LoadModelResult.GetLoadedObjectsOfType Metodo

Definizione

Overload

GetLoadedObjectsOfType(ObjectType)

Recupera tutti gli oggetti del tipo specificato caricati come parte di questo modello.

GetLoadedObjectsOfType(ObjectType, List<ObjectBase>)

GetLoadedObjectsOfType(ObjectType)

Recupera tutti gli oggetti del tipo specificato caricati come parte di questo modello.

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

Parametri

type
ObjectType

Il tipo richiesto deve specificare un tipo di oggetto valido, Entity ad esempio o MeshComponent.

Restituisce

Commenti

Si verifica un InvalidType errore se 'type' non rientra nell'intervallo specificato.

Si applica a

GetLoadedObjectsOfType(ObjectType, List<ObjectBase>)

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

Parametri

type
ObjectType
resultList
List<ObjectBase>

Si applica a