unreal.MaterialFunction
¶
- class unreal.MaterialFunction(outer=None, name='None')¶
Bases:
unreal.MaterialFunctionInterface
A Material Function is a collection of material expressions that can be reused in different materials
C++ Source:
Module: Engine
File: MaterialFunction.h
Editor Properties: (see get_editor_property/set_editor_property)
description
(str): [Read-Write] Description of the function which will be displayed as a tooltip wherever the function is used.expose_to_library
(bool): [Read-Write] Whether to list this function in the material function library, which is a window in the material editor that lists categorized functions.library_categories_text
(Array(Text)): [Read-Write] Categories that this function belongs to in the material function library. Ideally categories should be chosen carefully so that there are not too many.prefix_parameter_names
(bool): [Read-Write] If true, parameters in this function will have a prefix added to their group name.thumbnail_info
(ThumbnailInfo): [Read-Only] Information for thumbnail rendering