PbrMaterial

Overview

PbrMaterial is a class in Aspose.3D FOSS for Typescript. Inherits from: Material.

PbrMaterial.constructor creates a new PbrMaterial with an optional name and base albedo color.

Properties

NameTypeAccessDescription
albedoVector3 | nullRead/WriteStores the base color of the material as an RGB Vector3 or null
albedoTextureTextureBase | nullRead/WriteHolds an optional texture that defines per‑pixel albedo values
normalTextureTextureBase | nullRead/WriteHolds an optional normal map texture for surface detail
metallicFactornumberRead/WriteIs a numeric value (0‑1) indicating how metallic the surface appears
roughnessFactornumberRead/WriteIs a numeric value (0‑1) controlling the surface roughness
metallicRoughnessTextureBase | nullRead/WriteHolds an optional texture that combines metallic and roughness channels
occlusionTextureTextureBase | nullRead/WriteHolds an optional ambient occlusion texture
occlusionFactornumberRead/WriteIs a numeric multiplier applied to occlusion texture values
emissiveTextureTextureBase | nullRead/WriteHolds an optional texture that defines per‑pixel emissive color
emissiveColorVector3 | nullRead/WriteStores a constant emissive color as an RGB Vector3 or null
transparencynumberRead/WriteIs a numeric opacity factor where 0 is fully transparent and 1 is opaque

Methods

SignatureDescription
constructor(name: string | null, albedo: Vector3 | null)Creates a new PbrMaterial with an optional name and base albedo color
fromMaterial(material: Material)PbrMaterialReturns a PbrMaterial initialized from the properties of an existing Material

See Also