Class Qkmaxware::Rendering::Wireframe

Class List > Qkmaxware > Rendering > Wireframe

Material for wireframe objects

Inherits the following classes: Qkmaxware::Rendering::Material

Public Attributes

Type Name
Color Colour = = Color.White

Public Attributes inherited from Qkmaxware::Rendering::Material

See Qkmaxware::Rendering::Material

Type Name
bool TwoSided = = false
Two sided materials will not be subject to occlusion culling

Public Functions

Type Name
virtual override Color Edge (ShaderVariables variables)
Shader to apply to each face's edges
Wireframe (Color colour)
New wireframe material with colour

Public Functions inherited from Qkmaxware::Rendering::Material

See Qkmaxware::Rendering::Material

Type Name
virtual Color Edge (ShaderVariables variables)
Shader to apply to each face's edges
virtual Color Fragment (ShaderVariables variables)
Shader to apply to each face's surface
virtual Color Vert (ShaderVariables variables)
Shader to apply to each vertex

Public Attributes Documentation

variable Colour

Color Qkmaxware.Rendering.Wireframe.Colour;

Public Functions Documentation

function Edge

inline virtual override Color Qkmaxware::Rendering::Wireframe::Edge (
    ShaderVariables variables
) 

Parameters:

  • variables shading variables

Returns:

edge colour

Implements Qkmaxware::Rendering::Material::Edge

function Wireframe

inline Qkmaxware::Rendering::Wireframe::Wireframe (
    Color colour
) 

Parameters:

  • colour material colour

The documentation for this class was generated from the following file Render/src/Material.cs