Click or drag to resize
Ab4d.SharpEngine logo

EffectSetMaterialBlock Method

Sets MaterialBlockIndex and MaterialIndex on the specified material.

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
protected void SetMaterialBlock(
	Material material,
	int materialBlockIndex,
	int materialIndex
)

Parameters

material  Material
Material
materialBlockIndex  Int32
materialBlockIndex
materialIndex  Int32
materialIndex
See Also