UMassRepresentationProcessor::UpdateEntityVisibility

Updates entity visibility tag for later chunk logic optimization

Choose your operating system:

Windows

macOS

Linux

References

Module

MassRepresentation

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationProcessor.h

Include

#include "MassRepresentationProcessor.h"

Source

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationProcessor.cpp

Syntax

static void UpdateEntityVisibility
(
    const FMassEntityHandle Entity,
    const FMassRepresentationFragment & Representation,
    const FMassRepresentationLODFragment & RepresentationLOD,
    FMassVisualizationChunkFragment & ChunkData,
    FMassCommandBuffer & CommandBuffer
)

Remarks

Updates entity visibility tag for later chunk logic optimization

Parameters

Parameter

Description

Entity

of the entity to update visibility on

Representation

fragment containing the current and previous visual state

RepresentationLOD

fragment containing the visibility information

ChunkData

is the visualization chunk fragment

CommandBuffer

to queue up anything that is thread sensitive