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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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
See Also