unreal.AvaVisibilityModifier¶
- class unreal.AvaVisibilityModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ActorModifierArrangeBaseModifierControls 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 hiddeninvert_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 disabledskip_when_hidden(bool): [Read-Write] If true, when the top actor having this modifier is hidden, children actor visibility state will not be handledtreat_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:
Get Skip when Hidden
- Return type:
- set_invert_visibility(invert_visibility) None¶
Sets the child index range to hide instead of showing.
- Parameters:
invert_visibility (bool)
Set Skip when Hidden
- Parameters:
skip (bool)