Class NwcMaterial
- Namespace
- NwcIO.Model
- Assembly
- NwcIO.dll
A material definition specifying surface colors and PBR properties for 3D meshes.
public sealed class NwcMaterialInheritance
Inherited Members
Properties
Category
Optional category or classification name.
public string? Category { get; set; }Property Value
Color
Base diffuse / albedo RGBA color.
public RgbaColor Color { get; set; }Property Value
DoubleSided
Whether geometry with this material should be rendered double-sided.
public bool DoubleSided { get; set; }Property Value
Id
public required int Id { get; init; }Property Value
Metallic
PBR metallic factor [0.0 .. 1.0].
public float Metallic { get; set; }Property Value
Name
public required string Name { get; init; }Property Value
Roughness
PBR roughness factor [0.0 .. 1.0].
public float Roughness { get; set; }Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
-
A string that represents the current object.