SpriteMaterial Constructor (AlphaTestEffect, Boolean) |
Create the default material.
Namespace:
GeonBit.Core.Graphics.Materials
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public SpriteMaterial(
AlphaTestEffect effect,
bool copyEffectProperties = true
)
Parameters
- effect
- Type: AlphaTestEffect
Effect to use. - copyEffectProperties (Optional)
- Type: SystemBoolean
If true, will copy initial properties from effect.
See Also