Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
AGeometryCollectionRenderLevelSetActor An actor representing the collection of data necessary to render volumes. This references a ray marching material, which is used internally by a post process component blendable. This is a workflow that can be improved with a deeper implementation in the future if we decide to. Note that behavior with multiple render level set actors isn't currently supported very well, but could be improved in the future
| Name | AGeometryCollectionRenderLevelSetActor |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
| Include Path | #include "GeometryCollection/GeometryCollectionRenderLevelSetActor.h" |
Syntax
UCLASS (MinimalAPI)
class AGeometryCollectionRenderLevelSetActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AGeometryCollectionRenderLevelSetActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AGeometryCollectionRenderLevelSetActor
(
const FObjectInitializer& ObjectInitializer |
GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InstanceCount | int | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Enabled | bool | Enable or disable rendering. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
|
| Isovalue | float | Isovalue of the level set to use for surface reconstruction. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
|
| RayMarchMaterial | TObjectPtr< UMaterial > | Material that performs ray marching. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
|
| RenderVolumeBoundingBox | bool | Enable or disable rendering. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
|
| SurfaceTolerance | float | Surface tolerance used for rendering. When surface reconstruction is noisy, try tweaking this value | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
|
| TargetVolumeTexture | TObjectPtr< UVolumeTexture > | Volume texture to fill | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DynRayMarchMaterial | UMaterialInstanceDynamic * | Dynamic material instance so we can update parameters based on volume changes. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | |
| MaxBBoxCorner | FVector | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | ||
| MinBBoxCorner | FVector | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | ||
| PostProcessComponent | UPostProcessComponent * | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | ||
| StepSizeMult | float | Private for now since step size mult might not be super useful due to the current rendering algorithms employed in the shaders | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | |
| VoxelSize | float | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | ||
| WorldToLocal | FMatrix | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetEnabled
(
bool enabled |
Set and sync enabled | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | |
bool SetLevelSetToRender
(
const Chaos::FLevelSet& LevelSet, |
Load a new level set to render. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h | |
void SyncLevelSetTransform
(
const FTransform& LocalToWorld |
Sync level set transform to the render material. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
Some initialization happens in here. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& e |
Allowed for live updates to parameters from inside the editor when ejected. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static AGeometryCollectionRenderLevelSetActor * FindOrCreate
(
UWorld* World |
Find/create the level set renderer singleton actor as required. Return whether the found or created actor. | GeometryCollection/GeometryCollectionRenderLevelSetActor.h |