Navigation
API > API/Runtime > API/Runtime/Renderer
| Name | FRayTracingInstance |
| Type | struct |
| Header File | /Engine/Source/Runtime/Renderer/Public/RayTracingInstance.h |
| Include Path | #include "RayTracingInstance.h" |
Syntax
struct FRayTracingInstance
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS FRayTracingInstance () |
Disable deprecation warnings for default constructors | RayTracingInstance.h | |
FRayTracingInstance
(
const FRayTracingInstance& |
RayTracingInstance.h | ||
| RayTracingInstance.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FRayTracingInstance() |
RayTracingInstance.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyLocalBoundsTransform | bool | Whether local bounds scale and center translation should be applied to the instance transform. | RayTracingInstance.h | |
| bInstanceMaskAndFlagsDirty | bool | Mark InstanceMaskAndFlags dirty to be automatically updated in the renderer module (dirty by default). | RayTracingInstance.h | |
| bThinGeometry | bool | Whether the instance is thin geometry (e.g., Hair strands) | RayTracingInstance.h | |
| Geometry | const FRayTracingGeometry * | The underlying geometry of this instance specification. | RayTracingInstance.h | |
| InstanceLayer | ERayTracingInstanceLayer | RayTracingInstance.h | ||
| InstanceTransforms | TArray< FMatrix > | Instance transforms. | RayTracingInstance.h | |
| InstanceTransformsView | TConstArrayView< FMatrix > | Similar to InstanceTransforms, but memory is owned by someone else (i.g. FPrimitiveSceneProxy). | RayTracingInstance.h | |
| Materials | TArray< FMeshBatch > | Materials for each segment, in the form of mesh batches. | RayTracingInstance.h | |
| MaterialsView | TConstArrayView< FMeshBatch > | Similar to Materials, but memory is owned by someone else (i.g. FPrimitiveSceneProxy). | RayTracingInstance.h | |
| NumTransforms | uint32 | Transforms count. | RayTracingInstance.h | |
| PrimitiveInstanceIndices | TArray< uint32 > | Indices of primitive instances to be included in ray tracing scene. | RayTracingInstance.h | |
| PrimitiveInstanceIndicesView | TConstArrayView< uint32 > | Similar to PrimitiveInstanceIndices, but memory is owned by someone else (i.g. FPrimitiveSceneProxy). | RayTracingInstance.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArrayView< const FMeshBatch > GetMaterials() |
RayTracingInstance.h | ||
TConstArrayView< uint32 > GetPrimitiveInstanceIndices() |
RayTracingInstance.h | ||
TConstArrayView< FMatrix > GetTransforms() |
RayTracingInstance.h | ||
bool OwnsMaterials() |
RayTracingInstance.h | ||
bool OwnsPrimitiveInstanceIndices() |
RayTracingInstance.h | ||
bool OwnsTransforms() |
RayTracingInstance.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRayTracingInstance & operator=
(
const FRayTracingInstance& |
RayTracingInstance.h | ||
| RayTracingInstance.h |