unreal.AvaVisibilityModifier

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

Bases: AvaArrangeBaseModifier

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

  • 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_treat_as_range() bool

Get Treat as Range

Return type:

bool

property index: int

[Read-Write] Child index to set visibility, visible if bInvertVisibility is false else hidden

Type:

(int32)

property invert_visibility: bool

[Read-Write] If true, will hide the child index range instead of showing.

Type:

(bool)

set_index(index) None

Set Index

Parameters:

index (int32) –

set_invert_visibility(new_invert_visibility) None

Sets the child index range to hide instead of showing.

Parameters:

new_invert_visibility (bool) –

set_treat_as_range(treat_as_range) None

Set Treat as Range

Parameters:

treat_as_range (bool) –

property treat_as_range: bool

[Read-Write] Treat index as a range from 0 to index

Type:

(bool)