unreal.MovieSceneComponentMaterialParameterSection¶
- class unreal.MovieSceneComponentMaterialParameterSection(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieSceneSectionA movie scene section containing data for material parameters.
C++ Source:
Module: MovieSceneTracks
File: MovieSceneComponentMaterialParameterSection.h
Editor Properties: (see get_editor_property/set_editor_property)
color_tint(Color): [Read-Write] The color tint for this sectioncondition_container(MovieSceneConditionContainer): [Read-Write] Optional dynamic condition for whether this section evaluates at runtime.easing(MovieSceneEasingSettings): [Read-Write]eval_options(MovieSceneSectionEvalOptions): [Read-Write]is_active(bool): [Read-Write] Toggle whether this section is active/inactiveis_locked(bool): [Read-Write] Toggle whether this section is locked/unlockedpost_roll_frames(FrameNumber): [Read-Write] The amount of time to continue ‘postrolling’ this section for after evaluation has ended.pre_roll_frames(FrameNumber): [Read-Write] The amount of time to prepare this section for evaluation before it actually starts.section_range(MovieSceneFrameRange): [Read-Write] The range in which this section is activetimecode_source(MovieSceneTimecodeSource): [Read-Write] The timecode at which this movie scene section is based (ie. when it was recorded)
- add_color_parameter_key(parameter_info, time, value, layer_name, asset_name, channel_names=[], default_interpolation=MovieSceneKeyInterpolation.AUTO) None¶
Adds a a key for a specific color parameter at the specified time with the specified value.
- Parameters:
parameter_info (MaterialParameterInfo)
time (FrameNumber)
value (LinearColor)
layer_name (str)
asset_name (str)
channel_names (ParameterChannelNames)
default_interpolation (MovieSceneKeyInterpolation)
- add_scalar_parameter_key(parameter_info, time, value, layer_name, asset_name, default_interpolation=MovieSceneKeyInterpolation.AUTO) None¶
Adds a a key for a specific scalar parameter at the specified time with the specified value.
- Parameters:
parameter_info (MaterialParameterInfo)
time (FrameNumber)
value (float)
layer_name (str)
asset_name (str)
default_interpolation (MovieSceneKeyInterpolation)
- remove_color_parameter(parameter_info) bool¶
Removes a color parameter from this section.
- Parameters:
parameter_info (MaterialParameterInfo) – The material parameter info of the color parameter to remove.
- Returns:
True if a parameter with that name was found and removed, otherwise false.
- Return type:
- remove_scalar_parameter(parameter_info) bool¶
Removes a scalar parameter from this section.
- Parameters:
parameter_info (MaterialParameterInfo) – The material parameter info of the scalar parameter to remove.
- Returns:
True if a parameter with that name was found and removed, otherwise false.
- Return type: