AGeometryCollectionRenderLevelSetActor

[AGeometryCollectionRenderLevelSetActor](API\Runtime\GeometryCollectionEngine\GeometryCollection\AGeometryCollect-_1) An actor representing the collection of data necessary to render volumes.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

AActor

AGeometryCollectionRenderLevelSetActor

References

Module

GeometryCollectionEngine

Header

/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionRenderLevelSetActor.h

Include

#include "GeometryCollection/GeometryCollectionRenderLevelSetActor.h"

Syntax

class AGeometryCollectionRenderLevelSetActor : public AActor

Remarks

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

Variables

Name Description

Public variable

bool

 

Enabled

Enable or disable rendering.

Public variable

float

 

Isovalue

Isovalue of the level set to use for surface reconstruction.

Public variable

UMaterial *

 

RayMarchMaterial

Material that performs ray marching.

Public variable

bool

 

RenderVolumeBoundingBox

Enable or disable rendering.

Public variable

float

 

SurfaceTolerance

Surface tolerance used for rendering. When surface reconstruction is noisy, try tweaking this value

Public variable

UVolumeTexture ...

 

TargetVolumeTexture

Volume texture to fill.

Constructors

Name Description

Public function

AGeometryCollectionRenderLevelSetActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

AGeometryCol...

 

FindOrCreate

(
    UWorld* World
)

Find/create the level set renderer singleton actor as required. Return whether the found or created actor.

Public function

void

 

SetEnabled

(
    bool enabled
)

Set and sync enabled

Public function

bool

 

SetLevelSetToRender

(
    const Chaos::TLevelSet< float, 3 > ...,
    const FTransform& LocalToWorld
)

Load a new level set to render.

Public function

void

 

SyncLevelSetTransform

(
    const FTransform& LocalToWorld
)

Sync level set transform to the render material.

Overridden from AActor

Name Description

Public function Virtual

void

 

BeginPlay()

Some initialization happens in here.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& e
)

Allowed for live updates to parameters from inside the editor when ejected.

Constants

Name

Description

InstanceCount

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss