 |
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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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