unreal.MaterialInstance

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

Bases: unreal.MaterialInterface

Material Instance

C++ Source:

  • Module: Engine
  • File: MaterialInstance.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_import_data (AssetImportData): [Read-Write] Importing data and options used for this material
  • asset_user_data (Array(AssetUserData)): [Read-Write] Array of user data stored with the asset
  • base_property_overrides (MaterialInstanceBasePropertyOverrides): [Read-Write] Base Property Overrides
  • font_parameter_values (Array(FontParameterValue)): [Read-Write] Font parameters.
  • lightmass_settings (LightmassMaterialInterfaceSettings): [Read-Write] The Lightmass settings for this object.
  • override_subsurface_profile (bool): [Read-Write] Defines if SubsurfaceProfile from this instance is used or it uses the parent one.
  • parent (MaterialInterface): [Read-Write] Parent material.
  • phys_material (PhysicalMaterial): [Read-Write] Physical material to use for this graphics material. Used for sounds, effects etc.
  • preview_mesh (SoftObjectPath): [Read-Write] The mesh used by the material editor to preview the material.
  • scalar_parameter_values (Array(ScalarParameterValue)): [Read-Write] Scalar parameters.
  • subsurface_profile (SubsurfaceProfile): [Read-Write] SubsurfaceProfile, for Screen Space Subsurface Scattering
  • texture_parameter_values (Array(TextureParameterValue)): [Read-Write] Texture parameters.
  • thumbnail_info (ThumbnailInfo): [Read-Only] Information for thumbnail rendering
  • vector_parameter_values (Array(VectorParameterValue)): [Read-Write] Vector parameters.
font_parameter_values

(Array(FontParameterValue)) – [Read-Only] Font parameters.

override_subsurface_profile

(bool) – [Read-Only] Defines if SubsurfaceProfile from this instance is used or it uses the parent one.

parent

(MaterialInterface) – [Read-Only] Parent material.

phys_material

(PhysicalMaterial) – [Read-Write] Physical material to use for this graphics material. Used for sounds, effects etc.

scalar_parameter_values

(Array(ScalarParameterValue)) – [Read-Only] Scalar parameters.

texture_parameter_values

(Array(TextureParameterValue)) – [Read-Only] Texture parameters.

vector_parameter_values

(Array(VectorParameterValue)) – [Read-Only] Vector parameters.