Table of Contents

Struct MaterialProperties

Namespace
SearchAThing.OpenGL.Core
Assembly
netcore-opengl-core.dll

Describe the strength (0..1) of the ambient, diffuse, specular light effects.

public struct MaterialProperties
Inherited Members

Fields

Ambient

Ambient strength ( 0..1 ).

public float Ambient

Field Value

float

Diffuse

Diffuse strength ( 0..1 ).

public float Diffuse

Field Value

float

Specular

Specular strength ( 0..1 ).

public float Specular

Field Value

float

Properties

Default

Default material properties.

public static MaterialProperties Default { get; }

Property Value

MaterialProperties

Methods

ToVector3()

public Vector3 ToVector3()

Returns

Vector3