Apply all new properties on the material effect.
Call this whenever you want to draw using this material.
Namespace:
GeonBit.Core.Graphics.Materials
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Apply(
ref Matrix worldMatrix,
ref BoundingSphere boundingSphere
)
Parameters
- worldMatrix
- Type: Matrix
The world transformations of the currently rendered entity. - boundingSphere
- Type: BoundingSphere
The bounding sphere (should be already transformed) of the rendered entity.
See Also