Side

Qualified name: algan.rendering.shaders.materials.Side

class Side(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Which faces of a surface a material is for – Three.js’s side.

Algan renders all faces, so this is carried for API parity and warned about; whether a back-facing hit is lit from the viewer’s side is decided by the geometry, through Mob.two_sided.

Methods

Attributes

real

the real part of a complex number

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

denominator

the denominator of a rational number in lowest terms

FRONT

BACK

DOUBLE