unreal.MetaSoundLiteralViewModel_Integer¶
- class unreal.MetaSoundLiteralViewModel_Integer(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MVVMViewModelBaseViewmodel for binding an integer-type MetaSound Literal with a widget.
C++ Source:
Plugin: TechAudioTools
Module: TechAudioToolsMetaSound
File: MetaSoundLiteralViewModel.h
Editor Properties: (see get_editor_property/set_editor_property)
literal(MetasoundFrontendLiteral): [Read-Write] The bound MetaSound Literal value. Should be bound using a two-way binding with the Literal variable of a MetaSoundInputViewModel.normalized_value(float): [Read-Write] The SourceValue normalized to a 0-1 range based on the set Range values. Used for UI like sliders and knobs that use a normalized range.range(Int32Range): [Read-Write] Sets the min and max values of the UI range. Range bounds should be closed (either Inclusive or Exclusive) and not open.source_value(int32): [Read-Write] The value of the bound Literal as an integer.
- property literal: MetasoundFrontendLiteral¶
[Read-Write] The bound MetaSound Literal value. Should be bound using a two-way binding with the Literal variable of a MetaSoundInputViewModel.
- Type:
- property normalized_value: float¶
[Read-Write] The SourceValue normalized to a 0-1 range based on the set Range values. Used for UI like sliders and knobs that use a normalized range.
- Type:
(float)
- property range: Int32Range¶
[Read-Write] Sets the min and max values of the UI range. Range bounds should be closed (either Inclusive or Exclusive) and not open.
- Type: