Skip to content

Mojo graphics canvas addshadowcaster

mojo:mojo.graphics.Canvas.AddShadowCaster

Method AddShadowCaster:Void( caster:ShadowCaster,tx:Float,ty:Float )#
Method AddShadowCaster:Void( caster:ShadowCaster,tx:Float,ty:Float,rz:Float )#
Method AddShadowCaster:Void( caster:ShadowCaster,tx:Float,ty:Float,rz:Float,sx:Float,sy:Float )#
Method AddShadowCaster:Void( caster:ShadowCaster,tv:std.geom.Vec2f )#
Method AddShadowCaster:Void( caster:ShadowCaster,tv:std.geom.Vec2f,rz:Float )#
Method AddShadowCaster:Void( caster:ShadowCaster,tv:std.geom.Vec2f,rz:Float,sv:std.geom.Vec2f )#

Adds a shadow caster to the canvas.

This method must only be called while the canvas is in lighting mode, ie: between calls to BeginLighting and EndLighting.