struct in UnityEngine.Rendering
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseParameters 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.
See Also: RayTracingAccelerationStructure.AddInstance, RayTracingAccelerationStructure.AddInstances.
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 | 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 | 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 the behavior of a sub-mesh in a RayTracingAccelerationStructure. |
subMeshIndex | The index of a sub-mesh when the Mesh contains multiple sub-meshes. |