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 AmbientOcclusionAn object that defines the ambient occlusion of an entity’s surface.
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?The amount of ambient occlusion specified using a UV-mapped image.
set texture(value: (MaterialParameters_Texture) | null)Swift declarationvar texture: PhysicallyBasedMaterial.Texture?The amount of ambient occlusion specified using a UV-mapped image.
static initTexture(texture?: (MaterialParameters_Texture) | null): PhysicallyBasedMaterial_AmbientOcclusionSwift declarationinit(texture: PhysicallyBasedMaterial.Texture? = nil)Creates an object from an image texture. - Parameters: - texture: The ambient occlusion texture map.
static init(value: CustomMaterial_AmbientOcclusion): PhysicallyBasedMaterial_AmbientOcclusionSwift declarationinit(_ value: CustomMaterial.AmbientOcclusion)Creates an object from a custom material’s ambient occlusion property. - Parameters: - value: The ambient occlusion property from a `CustomMaterial`.
No declarations were skipped in this snapshot.