struct in UnityEngine.Rendering
/
Implemented in:UnityEngine.CoreModule
Parameters you can use to configure ray tracing Mesh instances that are part of a RayTracingAccelerationStructure.
This structure groups common parameters between different ray tracing instances.
Additional resources: RayTracingAccelerationStructure.AddInstance, RayTracingAccelerationStructure.AddInstances.
| Description | |
|---|---|
| accelerationStructureBuildFlags | The flags Unity uses when it builds the acceleration structure for the geometry referenced by this ray tracing instance configuration. |
| accelerationStructureBuildFlagsOverride | Whether to override the build flags specified when creating a RayTracingAccelerationStructure. |
| dynamicGeometry | Whether Unity considers the geometry animated or not. |
| enableTriangleCulling | Whether front/back face culling for this ray tracing instance is enabled. |
| frontTriangleCounterClockwise | Whether to flip the way triangles face in this ray tracing instance. |
| layer | The Layer used by the ray tracing instance. |
| lightProbeProxyVolume | The LightProbeProxyVolume the ray tracing instance uses. |
| lightProbeUsage | The Light probe interpolation type for this instance. |
| mask | The ray tracing instance mask. |
| material | The Material the ray tracing instance uses. |
| materialProperties | Additional Material properties to apply onto Material. |
| mesh | The Mesh to add to a RayTracingAccelerationStructure. |
| motionVectorMode | Motion vector mode. |
| renderingLayerMask | A mask that you can access in HLSL with unity_RenderingLayer built-in shader uniform. |
| subMeshFlags | Flags that determine how rays intersect the geometry for each submesh relative to Material type during ray tracing. |
| subMeshIndex | The index of a sub-mesh when the Mesh contains multiple sub-meshes. |