Partager via


MeshComputeSettings Struct

Definition

Settings describing the quality and type of mesh to be provided.

public struct MeshComputeSettings
type MeshComputeSettings = struct
Public Structure MeshComputeSettings
Inheritance
MeshComputeSettings

Properties

MeshComputeConsistency

Get or set the compute consistency to request from the XRMeshSubsystem.

MeshType
Obsolete.

Deprecated. The XRMeshSubsystem only supplies visual meshes. Use a UnityEngine.MeshCollider or the method UnityEngine.XR.XRMeshSubsystem.GenerateMeshAsync(UnityEngine.XR.MeshId,UnityEngine.Mesh,UnityEngine.MeshCollider,UnityEngine.XR.MeshVertexAttributes,System.Action{UnityEngine.XR.MeshGenerationResult}) to get collider meshes as needed.

VisualMeshLevelOfDetail

Get or set the level of detail of visual mesh to request from the XRMeshSubsystem.

Applies to