MaterialGameSettings(bpy_struct)

base class — bpy_struct

class bpy.types.MaterialGameSettings(bpy_struct)

Game Engine settings for a Material data-block

alpha_blend

Blend Mode for Transparent Faces

  • OPAQUE Opaque, Render color of textured face as color.
  • ADD Add, Render face transparent and add color of face.
  • CLIP Alpha Clip, Use the image alpha values clipped with no blending (binary alpha).
  • ALPHA Alpha Blend, Render polygon transparent, depending on alpha channel of the texture.
  • ALPHA_SORT Alpha Sort, Sort faces for correct alpha drawing (slow, use Alpha Clip instead when possible).
  • ALPHA_ANTIALIASING Alpha Anti-Aliasing, Use textures alpha as anti-aliasing mask, requires multi-sample OpenGL display.
Type:enum in [‘OPAQUE’, ‘ADD’, ‘CLIP’, ‘ALPHA’, ‘ALPHA_SORT’, ‘ALPHA_ANTIALIASING’], default ‘OPAQUE’
face_orientation

Especial face orientation options

  • NORMAL Normal, No transformation.
  • HALO Halo, Screen aligned billboard.
  • BILLBOARD Billboard, Billboard with Z-axis constraint.
  • SHADOW Shadow, Faces are used for shadow.
Type:enum in [‘NORMAL’, ‘HALO’, ‘BILLBOARD’, ‘SHADOW’], default ‘NORMAL’
invisible

Make face invisible

Type:boolean, default False
physics

Use physics for this materials

Type:boolean, default False
use_backface_culling

Hide Back of the face in Game Engine

Type:boolean, default False
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References