 |
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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic 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