textureSemantic
TypeScriptstatic get textureSemantic(): TextureResource_SemanticSwift declarationstatic let textureSemantic: TextureResource.SemanticThe intended use of the object’s texture property.
struct · iOS 15.0+ · SDK 27.1
struct EmissiveColorAn 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.
static get textureSemantic(): TextureResource_SemanticSwift declarationstatic let textureSemantic: TextureResource.SemanticThe intended use of the object’s texture property.
get texture(): (MaterialParameters_Texture) | nullSwift declarationvar texture: PhysicallyBasedMaterial.Texture?An optional image texture that defines the color of light emission.
set texture(value: (MaterialParameters_Texture) | null)Swift declarationvar texture: PhysicallyBasedMaterial.Texture?An optional image texture that defines the color of light emission.
static init(value: CustomMaterial_EmissiveColor): PhysicallyBasedMaterial_EmissiveColorSwift declarationinit(_ 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.
No declarations were skipped in this snapshot.