relativeOrigin
The relative origin of ray tracing instances.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Vector3 relativeOrigin { readonly get; set; }
Remarks
This value is subtracted from the original instance position to get the final instance position. If you do camera-relative ray tracing, you can use to get more accurate ray-geometry intersection results.
relativeOrigin