|
PixelMaterialOnEffectChanged Method |
OnEffectChanged is called after the effect is changed - overridden methods can return false to prevent the change of effect.
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax protected override bool OnEffectChanged(
Effect? oldEffect,
Effect? newEffect
)
Parameters
- oldEffect Effect
- old Effect
- newEffect Effect
- new Effect
Return Value
Booleanfalse to prevent the change, true to allow the change
See Also