Method IsOpaque
IsOpaque(uint)
Check if material is opaque. Function will return 'False' if:\n- The 'Opacity' Coeff is not 1.0\n- The 'Opacity' property is a Texture\n- The 'Albedo' property is a Texture and at least one pixel of the texture has an alpha value
Declaration
[HandleProcessCorruptedStateExceptions]
public bool IsOpaque(uint material)
Parameters
Type | Name | Description |
---|---|---|
uint | material | Material to check opacity |
Returns
Type | Description |
---|---|
bool |