Table of Contents

Class NwcMaterial

Namespace
NwcIO.Model
Assembly
NwcIO.dll

A material definition specifying surface colors and PBR properties for 3D meshes.

public sealed class NwcMaterial

Inheritance

Inherited Members

Properties

Category

Optional category or classification name.

public string? Category { get; set; }

Property Value

string?

Color

Base diffuse / albedo RGBA color.

public RgbaColor Color { get; set; }

Property Value

RgbaColor

DoubleSided

Whether geometry with this material should be rendered double-sided.

public bool DoubleSided { get; set; }

Property Value

bool

Id

public required int Id { get; init; }

Property Value

int

Metallic

PBR metallic factor [0.0 .. 1.0].

public float Metallic { get; set; }

Property Value

float

Name

public required string Name { get; init; }

Property Value

string

Roughness

PBR roughness factor [0.0 .. 1.0].

public float Roughness { get; set; }

Property Value

float

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.