class in UnityEngine.XR
/
Inherits from:IntegratedSubsystem
/
Implemented in:UnityEngine.XRModule
Suggest a change Success!Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close Submission failedFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close Your name Your email Suggestion* DescriptionAllows external systems to provide dynamic meshes to Unity.
The XRMeshSubsystem enables external systems to provide dynamic meshes to Unity. The meshes are processed on background threads, including physics baking, so as not to block the main thread during execution. This is useful for that provide dynamic meshes during runtime, such as spatially-aware AR devices.
Properties Property Description meshDensity Call this function to request a change in the density of the generated Meshes. Unity gives the density level as a value within the range 0.0 to 1.0 and the provider determines how to map that value to their implementation. Setting this value does not guarantee an immediate change in the density of any currently created Mesh and may only change the density for new or updated Meshes. Public Methods Method Description GenerateMeshAsync Requests the generation of the Mesh with MeshId meshId. Unity calls onMeshGenerationComplete when generation finishes. GetUpdatedMeshTransforms Gets the updated mesh transforms. SetBoundingVolume Set the bounding volume to restrict the space in which Unity generates and tracks Meshes.The bounding volume is an Axis Aligned Bounding Box (AABB) centered at the origin and extends in each dimension as defined in extents.The units of measurement depend on the provider. TryGetMeshInfos Gets information about every Mesh the system currently tracks. Inherited Members Properties Property Description running Whether or not the subsystem is running. Public Methods Method Description Destroy Destroys this instance of a subsystem. Start Starts an instance of a subsystem. Stop Stops an instance of a subsystem.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4