Click or drag to resize
Ab4d.SharpEngine logo

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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
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
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.EffectsManager.SetStandardEffect(Ab4d.SharpEngine.Effects.Effect)"]

See Also