Header menu logo Nu

MaterialProperties Type

Material properties for surfaces. NOTE: this type has to go after TerrainMaterialProperties lest the latter's field names shadow this one's.

Record fields

Record Field Description

AlbedoOpt

Full Usage: AlbedoOpt

Field type: Color voption
Field type: Color voption

AmbientOcclusionOpt

Full Usage: AmbientOcclusionOpt

Field type: single voption
Field type: single voption

EmissionOpt

Full Usage: EmissionOpt

Field type: single voption
Field type: single voption

FinenessOffsetOpt

Full Usage: FinenessOffsetOpt

Field type: single voption
Field type: single voption

HeightOpt

Full Usage: HeightOpt

Field type: single voption
Field type: single voption

IgnoreLightMapsOpt

Full Usage: IgnoreLightMapsOpt

Field type: bool voption
Field type: bool voption

MetallicOpt

Full Usage: MetallicOpt

Field type: single voption
Field type: single voption

OpaqueDistanceOpt

Full Usage: OpaqueDistanceOpt

Field type: single voption
Field type: single voption

RoughnessOpt

Full Usage: RoughnessOpt

Field type: single voption
Field type: single voption

ScatterTypeOpt

Full Usage: ScatterTypeOpt

Field type: ScatterType voption
Field type: ScatterType voption

SpecularScalarOpt

Full Usage: SpecularScalarOpt

Field type: single voption
Field type: single voption

Instance members

Instance member Description

this.Albedo

Full Usage: this.Albedo

Returns: Color
Returns: Color

this.AmbientOcclusion

Full Usage: this.AmbientOcclusion

Returns: float32
Returns: float32

this.Emission

Full Usage: this.Emission

Returns: float32
Returns: float32

this.FinenessOffset

Full Usage: this.FinenessOffset

Returns: float32
Returns: float32

this.Height

Full Usage: this.Height

Returns: float32
Returns: float32

this.IgnoreLightMaps

Full Usage: this.IgnoreLightMaps

Returns: bool
Returns: bool

this.Metallic

Full Usage: this.Metallic

Returns: float32
Returns: float32

this.OpaqueDistance

Full Usage: this.OpaqueDistance

Returns: float32
Returns: float32

this.Roughness

Full Usage: this.Roughness

Returns: float32
Returns: float32

this.ScatterType

Full Usage: this.ScatterType

Returns: ScatterType
Returns: ScatterType

this.SpecularScalar

Full Usage: this.SpecularScalar

Returns: float32
Returns: float32

Type something to start searching.