SpatialAwarenessSceneObject.Create 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.
Creates a SpatialAwarenessSceneObject.
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
- surfaceType
- SpatialAwarenessSurfaceTypes
- position
- UnityEngine.Vector3
- rotation
- UnityEngine.Quaternion
- meshData
- List<SpatialAwarenessSceneObject.MeshData>
Returns
A SpatialAwarenessSceneObject containing the fields that describe the scene object.