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 properties of materials

Type:boolean, default False
text

Use material as text in Game Engine

Type:boolean, default False
use_backface_culling

Hide Back of the face in Game Engine

Type:boolean, default False

Inherited Properties

Inherited Functions

References