b2dSetShaderFloat4

Sets a 4-component float (vector) uniform on a screen shader.

Shaders

Parameters & Returns

Parameters

shader Int
name String
x Double
y Double
z Double
w Double

Returns

Void

Quick Summary

Sets a 4-component float (vector) uniform on a screen shader.

Technical Exegesis...

Sets the named float4 uniform in the given screen shader to (x, y, z, w) - for example an RGBA colour.

Example

Example.bam
; No example implemented yet