LoadModelResult.GetLoadedObjectsOfType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetLoadedObjectsOfType(ObjectType) |
Retrieves all objects of the given type that were loaded as part of this model. |
GetLoadedObjectsOfType(ObjectType, List<ObjectBase>) |
GetLoadedObjectsOfType(ObjectType)
Retrieves all objects of the given type that were loaded as part of this model.
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)
Parameters
- type
- ObjectType
The requested type must specify a valid object type such as Entity or MeshComponent.
Returns
Remarks
A InvalidType error occurs if 'type' is outside the specified range.
Applies to
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))
Parameters
- type
- ObjectType
- resultList
- List<ObjectBase>