Class: UFOW_EntityVisibilityHandler

class FOGOFWAR_API UFOW_EntityVisibilityHandler
    : public UObject;

Reflection-enabled

Specifiers:

  • Blueprintable

Update the visibility of every registered object implementing IFOW_VisibilityEntity_Interface.
The class is instantied twice in every UFOW_Floor for Static and dynamic entity.
Each entity will query the FOW state at location or for an AABB on the owner FOW_Floor.

  • Change the visibility system by creating a new UFOW_EntityVisibilityHandler and by changing the default class used in the AFOW_Handler
  • Override OnVisibilityStateChanged methode in IFOW_VisibilityEntity_Interface to apply custom modification
  • Bind your object to OnVisibilityChanged if you are using FOW_VisibilityComponent

Contained by : UFOW_Floor


Properties

  • VisibleEntities

    protected:
    TArray<TScriptInterface<IFOW_VisibilityEntity_Interface>> VisibleEntities;
    

    Reflection-enabled

    Specifiers:

    • BlueprintReadOnly
    • Category = Internal

    Hold the visible entity


Methods

  • PrepareForWorldDestruction

    public:
    virtual void PrepareForWorldDestruction();
    

    Reflection-enabled

    Specifiers:

    • BlueprintCallable
    • Category = Core

    Call before the world destruction to prevent all Remove or Add operation

  • UpdateVisibilityState

    public:
    virtual void UpdateVisibilityState(
        const UFOW_Floor* Floor,
        uint8 FOWGlobalSettingFlags
    );
    

    Reflection-enabled

    Specifiers:

    • BlueprintCallable
    • Category = Core

    Update the visibility state of all registered entity


    Arguments


Documentation built with Unreal-Doc v1.0.9 tool by PsichiX