unreal.MaterialExpressionSceneColor

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

Bases: unreal.MaterialExpression

Material Expression Scene Color

C++ Source:

  • Module: Engine
  • File: MaterialExpressionSceneColor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • const_input (Vector2D): [Read-Write] only used if Input is not hooked up
  • desc (str): [Read-Write] A description that level designers can add (shows in the material editor UI).
  • input_mode (MaterialSceneAttributeInputMode): [Read-Write] Coordinates - UV coordinates to apply to the scene color lookup. OffsetFraction - An offset to apply to the scene color lookup in a 2d fraction of the screen.