unreal.AvaVisibilityModifier

class unreal.AvaVisibilityModifier(outer: Object | None = None, name: Name | str = 'None')

Bases: ActorModifierArrangeBaseModifier

Controls the visibility of a range of child actors by index.

C++ Source:

  • Plugin: Avalanche

  • Module: AvalancheModifiers

  • File: AvaVisibilityModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • index (int32): [Read-Write] Child index to set visibility, visible if bInvertVisibility is false else hidden

  • invert_visibility (bool): [Read-Write] If true, will hide the child index range instead of showing.

  • modifier_enabled (bool): [Read-Write] Is the modifier enabled or disabled

  • skip_when_hidden (bool): [Read-Write] If true, when the top actor having this modifier is hidden, children actor visibility state will not be handled

  • treat_as_range (bool): [Read-Write] Treat index as a range from 0 to index

get_index() int32

Get Index

Return type:

int32

get_invert_visibility() bool

Returns true if hiding the child index range instead of showing.

Return type:

bool

get_skip_when_hidden() bool

Get Skip when Hidden

Return type:

bool

get_treat_as_range() bool

Get Treat as Range

Return type:

bool

set_index(index) None

Set Index

Parameters:

index (int32)

set_invert_visibility(invert_visibility) None

Sets the child index range to hide instead of showing.

Parameters:

invert_visibility (bool)

set_skip_when_hidden(skip) None

Set Skip when Hidden

Parameters:

skip (bool)

set_treat_as_range(treat_as_range) None

Set Treat as Range

Parameters:

treat_as_range (bool)