MeshSubsystemExtensions.TrySetMeshComputeSettings Method

Definition

Caution

Obsolete and will be removed in future releases. Use MeshSettings.TrySetMeshComputeSettings() function instead.

Change the settings for future meshes given by the XRMeshSubsystem.

[System.Obsolete("Obsolete and will be removed in future releases.  Use MeshSettings.TrySetMeshComputeSettings() function instead.", true)]
public static bool TrySetMeshComputeSettings (this UnityEngine.XR.XRMeshSubsystem subsystem, Microsoft.MixedReality.OpenXR.MeshComputeSettings settings);
public static bool TrySetMeshComputeSettings (this UnityEngine.XR.XRMeshSubsystem subsystem, Microsoft.MixedReality.OpenXR.MeshComputeSettings settings);
[<System.Obsolete("Obsolete and will be removed in future releases.  Use MeshSettings.TrySetMeshComputeSettings() function instead.", true)>]
static member TrySetMeshComputeSettings : UnityEngine.XR.XRMeshSubsystem * Microsoft.MixedReality.OpenXR.MeshComputeSettings -> bool
static member TrySetMeshComputeSettings : UnityEngine.XR.XRMeshSubsystem * Microsoft.MixedReality.OpenXR.MeshComputeSettings -> bool
<Extension()>
Public Function TrySetMeshComputeSettings (subsystem As XRMeshSubsystem, settings As MeshComputeSettings) As Boolean

Parameters

subsystem
UnityEngine.XR.XRMeshSubsystem

The UnityEngine.XR.XRMeshSubsystem to receive the settings

settings
MeshComputeSettings

The mesh compute settings to be set.

Returns

Returns true if the setting is successfully changed to the given value. Returns false otherwise.

Attributes

Applies to