An object that specifies all parameters necessary to initialize `UnlitMaterial` programs
Members (5)
get · iOS 18.0+
applyPostProcessToneMap
TypeScript
get applyPostProcessToneMap(): boolean
Swift declaration
var applyPostProcessToneMap: Bool
A Boolean value that determines whether RealityKit will tonemap the output of this material.
If true, the created `UnlitMaterial.Program` will tonemap its color output to better
match the rest of the scene; if false, the created `UnlitMaterial.Program` will output
its color without modification.
Default value is true.
set · iOS 18.0+
applyPostProcessToneMap
TypeScript
set applyPostProcessToneMap(value: boolean)
Swift declaration
var applyPostProcessToneMap: Bool
A Boolean value that determines whether RealityKit will tonemap the output of this material.
If true, the created `UnlitMaterial.Program` will tonemap its color output to better
match the rest of the scene; if false, the created `UnlitMaterial.Program` will output
its color without modification.
Default value is true.
get · iOS 18.0+
blendMode
TypeScript
get blendMode(): (MaterialParameterTypes_BlendMode) | null
Swift declaration
var blendMode: MaterialParameterTypes.BlendMode?
Modes that describe how materials using the created `UnlitMaterial.Program` will be blended with content behind them.
Default value is nil, which will cause this material to render opaque, and not blend with background content.
set · iOS 18.0+
blendMode
TypeScript
set blendMode(value: (MaterialParameterTypes_BlendMode) | null)
Swift declaration
var blendMode: MaterialParameterTypes.BlendMode?
Modes that describe how materials using the created `UnlitMaterial.Program` will be blended with content behind them.
Default value is nil, which will cause this material to render opaque, and not blend with background content.