textureSemantic
TypeScriptstatic get textureSemantic(): TextureResource_SemanticSwift declarationstatic let textureSemantic: TextureResource.SemanticThe intended use of this object’s texture property.
struct · iOS 15.0+ · SDK 27.1
struct BaseColorAn object that defines an entity’s base color. Use this struct to specify an entity’s base color, which defines the entity’s appearance before RealityKit calculates the effect of lighting or material properties such as ``PhysicallyBasedMaterial/roughness-swift.property`` or ``PhysicallyBasedMaterial/metallic-swift.property``. For more information, see ``PhysicallyBasedMaterial/baseColor-swift.property``.
static get textureSemantic(): TextureResource_SemanticSwift declarationstatic let textureSemantic: TextureResource.SemanticThe intended use of this object’s texture property.
get texture(): (MaterialParameters_Texture) | nullSwift declarationvar texture: PhysicallyBasedMaterial.Texture?The base color as a UV Image map.
set texture(value: (MaterialParameters_Texture) | null)Swift declarationvar texture: PhysicallyBasedMaterial.Texture?The base color as a UV Image map.
static init(value: CustomMaterial_BaseColor): PhysicallyBasedMaterial_BaseColorSwift declarationinit(_ value: CustomMaterial.BaseColor)Creates a base color object from a custom material’s base color property. - Parameters: - value: The custom material’s base color property.
No declarations were skipped in this snapshot.