One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhysicallyBasedMaterial.EmissiveColor

struct · iOS 15.0+ · SDK 27.1

struct EmissiveColor

An object that defines the color of the light an entity emits. With physically based rendering (PBR), you can give entities in RealityKit the appearance of emitting light. Define the color of the light the entity emits by using this object.

Members (4)

get · iOS 15.0+

textureSemantic

TypeScript
static get textureSemantic(): TextureResource_Semantic
Swift declaration
static let textureSemantic: TextureResource.Semantic

The intended use of the object’s texture property.

get · iOS 15.0+

texture

TypeScript
get texture(): (MaterialParameters_Texture) | null
Swift declaration
var texture: PhysicallyBasedMaterial.Texture?

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

set · iOS 15.0+

texture

TypeScript
set texture(value: (MaterialParameters_Texture) | null)
Swift declaration
var texture: PhysicallyBasedMaterial.Texture?

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

init · iOS 15.0+

init

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

Creates a color of emitted light from a custom material’s emissive color property. - Parameters: - value: The custom material emissive color object.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →