One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

CustomMaterial.EmissiveColor

struct · iOS 15.0+ · SDK 27.1

struct EmissiveColor

An object that defines the color of the light an entity emits.

Members (3)

get · iOS 15.0+

texture

TypeScript
get texture(): (CustomMaterial_CustomMaterialTexture) | null
Swift declaration
var texture: CustomMaterial.Texture?

An optional image texture that defines the color of light emission.

set · iOS 15.0+

texture

TypeScript
set texture(value: (CustomMaterial_CustomMaterialTexture) | null)
Swift declaration
var texture: CustomMaterial.Texture?

An optional image texture that defines the color of light emission.

init · iOS 15.0+

init

TypeScript
static init(value: PhysicallyBasedMaterial_EmissiveColor): CustomMaterial_EmissiveColor
Swift declaration
init(_ value: PhysicallyBasedMaterial.EmissiveColor)

Creates a color of emitted light based on the emissive color property from a physically based material. - Parameters: - value: The ``PhysicallyBasedMaterial/emissiveColor-swift.property`` property from a ``PhysicallyBasedMaterial``.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →