|
EffectsManagerSetStandardEffect Method |
Sets a new custom Effect as a StandardEffect. StandardEffect should be able to render many different lights and all standard materials.
If newStandardEffect is not yet registered by EffectsManager then this method also registers the newStandardEffect.
If newStandardEffect is null the default StandardEffect will be set as a StandardEffect.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public virtual void SetStandardEffect(
Effect? newStandardEffect
)
Parameters
- newStandardEffect Effect
- Effect that will be used as standard rendering effect or null to reset StandardEffect to the default StandardEffect
See Also