unreal.MovieSceneComponentMaterialParameterSection

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

Bases: MovieSceneSection

A 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 section

  • easing (MovieSceneEasingSettings): [Read-Write]

  • eval_options (MovieSceneSectionEvalOptions): [Read-Write]

  • is_active (bool): [Read-Write] Toggle whether this section is active/inactive

  • is_locked (bool): [Read-Write] Toggle whether this section is locked/unlocked

  • post_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 active

  • timecode_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) None

Adds a a key for a specific color parameter at the specified time with the specified value.

Parameters:
add_scalar_parameter_key(parameter_info, time, value, layer_name, asset_name) None

Adds a a key for a specific scalar parameter at the specified time with the specified value.

Parameters:
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:

bool

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:

bool