mojo.graphics.Canvas.AddShadowCaster - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.mojo.graphics.Canvas.AddShadowCaster

Method AddShadowCaster:Void( caster:mojo:mojo.graphics.ShadowCaster,tx:monkey:monkey.types.Float,ty:monkey:monkey.types.Float )
Method AddShadowCaster:Void( caster:mojo:mojo.graphics.ShadowCaster,tx:monkey:monkey.types.Float,ty:monkey:monkey.types.Float,rz:monkey:monkey.types.Float )
Method AddShadowCaster:Void( caster:mojo:mojo.graphics.ShadowCaster,tx:monkey:monkey.types.Float,ty:monkey:monkey.types.Float,rz:monkey:monkey.types.Float,sx:monkey:monkey.types.Float,sy:monkey:monkey.types.Float )
Method AddShadowCaster:Void( caster:mojo:mojo.graphics.ShadowCaster,tv:std:std.geom.Vec2f )
Method AddShadowCaster:Void( caster:mojo:mojo.graphics.ShadowCaster,tv:std:std.geom.Vec2f,rz:monkey:monkey.types.Float )
Method AddShadowCaster:Void( caster:mojo:mojo.graphics.ShadowCaster,tv:std:std.geom.Vec2f,rz:monkey:monkey.types.Float,sv:std: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.