MaterialBlendingMode()

语法

MaterialBlendingMode(#Material, Mode)
概要
Changes the way the material will be blended with the scene (screen background).

参数

#Material The material to use.
Mode It can be one of the following value:
  #PB_Material_Add       : Performs a pixel 'Add' operation over the scene (black color is like transparent).
  #PB_Material_AlphaBlend: Uses the AlphaChannel layer of the texture (should be a TGA or PNG one) to blend it with the scene.
  #PB_Material_Color     : Uses the texture transparent color value when blending the material with the scene.

返回值

无.

已支持操作系统

所有

<- IsMaterial() - Material Index - MaterialCullingMode() ->