MaterialGameSettings(bpy_struct)

base class — bpy_struct

class bpy.types.MaterialGameSettings(bpy_struct)

Game Engine settings for a Material datablock

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).
Type :enum in [‘OPAQUE’, ‘ADD’, ‘CLIP’, ‘ALPHA’, ‘ALPHA_SORT’], default ‘OPAQUE’
face_orientation

Especial face orientation options

  • NORMAL Normal, No tranformation.
  • 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

Previous topic

Material(ID)

Next topic

MaterialHalo(bpy_struct)