Language
Edit

ReticleVisualUpdateArgs Struct

Definition

A struct to store the arguments passed to UpdateVisual(ReticleVisualUpdateArgs) including the interactor associated with the reticle, and reticle position and normal.

public struct ReticleVisualUpdateArgs
type ReticleVisualUpdateArgs = struct
Public Structure ReticleVisualUpdateArgs
Inheritance
ReticleVisualUpdateArgs

Constructors

Name Description
ReticleVisualUpdateArgs(IXRInteractor, Vector3, Vector3)

Initializes a ReticleVisualUpdateArgs struct.

Fields

Name Description
Interactor

XRRayInteractor that the reticle serves as a visual for.

ReticleNormal

The desired reticle normal from the raycast hit.

ReticlePosition

The desired reticle position from the raycast hit.

Applies to