Editar

Partilhar via


FingerCursor.UpdateVisuals(Renderer, Single, Boolean) Method

Definition

Applies material overrides to a ring renderer.

protected:
 virtual void UpdateVisuals(UnityEngine::Renderer ^ ringRenderer, float distance, bool visible);
protected virtual void UpdateVisuals (UnityEngine.Renderer ringRenderer, float distance, bool visible);
abstract member UpdateVisuals : UnityEngine.Renderer * single * bool -> unit
override this.UpdateVisuals : UnityEngine.Renderer * single * bool -> unit
Protected Overridable Sub UpdateVisuals (ringRenderer As Renderer, distance As Single, visible As Boolean)

Parameters

ringRenderer
UnityEngine.Renderer

Renderer using an MRTK/Standard material with the round corner feature enabled.

distance
Single

Distance between the ring and surface.

visible
Boolean

Should the ring be visible?

Applies to