v_sim.GlExtGlobals

Fields

Name

Type

Access

Description

MV

v_sim.GlMatrix

r/w

the current view matrix.

camPosition

[float]

r/w

the current camera position.

fogColor

[float]

r/w

the fog colour.

fogStartEnd

[float]

r/w

start, end position of the fog.

mvp

v_sim.GlMatrix

r/w

the current projection - view matrix.

resolution

[float]

r/w

output width, height in pixels.

Methods

None

Details

class v_sim.GlExtGlobals

Contains the current uniform values for GPU shaders.

New in version 3.9.