Modifier

Partager via


SpatialAwarenessSceneObject.Create Method

Definition

public:
 static Microsoft::MixedReality::Toolkit::Experimental::SpatialAwareness::SpatialAwarenessSceneObject ^ Create(int id, Microsoft::MixedReality::Toolkit::SpatialAwareness::SpatialAwarenessSurfaceTypes surfaceType, UnityEngine::Vector3 position, UnityEngine::Quaternion rotation, System::Collections::Generic::List<Microsoft::MixedReality::Toolkit::Experimental::SpatialAwareness::SpatialAwarenessSceneObject::QuadData ^> ^ quads, System::Collections::Generic::List<Microsoft::MixedReality::Toolkit::Experimental::SpatialAwareness::SpatialAwarenessSceneObject::MeshData ^> ^ meshData);
public static Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness.SpatialAwarenessSceneObject Create (int id, Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessSurfaceTypes surfaceType, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness.SpatialAwarenessSceneObject.QuadData> quads, System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness.SpatialAwarenessSceneObject.MeshData> meshData);
static member Create : int * Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessSurfaceTypes * UnityEngine.Vector3 * UnityEngine.Quaternion * System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness.SpatialAwarenessSceneObject.QuadData> * System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness.SpatialAwarenessSceneObject.MeshData> -> Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness.SpatialAwarenessSceneObject
Public Shared Function Create (id As Integer, surfaceType As SpatialAwarenessSurfaceTypes, position As Vector3, rotation As Quaternion, quads As List(Of SpatialAwarenessSceneObject.QuadData), meshData As List(Of SpatialAwarenessSceneObject.MeshData)) As SpatialAwarenessSceneObject

Parameters

id
Int32
position
UnityEngine.Vector3
rotation
UnityEngine.Quaternion

Returns

A SpatialAwarenessSceneObject containing the fields that describe the scene object.

Applies to