unreal.MaterialExpressionFunctionInput

class unreal.MaterialExpressionFunctionInput(outer=None, name='None')

Bases: unreal.MaterialExpression

Material Expression Function Input

C++ Source:

  • Module: Engine
  • File: MaterialExpressionFunctionInput.h

Editor Properties: (see get_editor_property/set_editor_property)

  • desc (str): [Read-Write] A description that level designers can add (shows in the material editor UI).
  • description (str): [Read-Write] The input’s description, which will be used as a tooltip on the connector in function call expressions that use this function.
  • input_name (Name): [Read-Write] The input’s name, which will be drawn on the connector in function call expressions that use this function.
  • input_type (FunctionInputType): [Read-Write] Type of this input. Input code chunks will be cast to this type, and a compiler error will be emitted if the cast fails.
  • preview_value (Vector4): [Read-Write] Value used to preview this input when editing the material function.
  • sort_priority (int32): [Read-Write] Controls where the input is displayed relative to the other inputs.
  • use_preview_value_as_default (bool): [Read-Write] Whether to use the preview value or texture as the default value for this input.
input_name

(Name) – [Read-Write] The input’s name, which will be drawn on the connector in function call expressions that use this function.

input_type

(FunctionInputType) – [Read-Write] Type of this input. Input code chunks will be cast to this type, and a compiler error will be emitted if the cast fails.

preview_value

(Vector4) – [Read-Write] Value used to preview this input when editing the material function.

sort_priority

(int32) – [Read-Write] Controls where the input is displayed relative to the other inputs.

use_preview_value_as_default

(bool) – [Read-Write] Whether to use the preview value or texture as the default value for this input.