One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhysicallyBasedMaterial.AmbientOcclusion

struct · iOS 15.0+ · SDK 27.1

struct AmbientOcclusion

An object that defines the ambient occlusion of an entity’s surface.

Members (5)

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?

The amount of ambient occlusion specified using a UV-mapped image.

set · iOS 15.0+

texture

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

The amount of ambient occlusion specified using a UV-mapped image.

init · iOS 15.0+

init

TypeScript
static initTexture(texture?: (MaterialParameters_Texture) | null): PhysicallyBasedMaterial_AmbientOcclusion
Swift declaration
init(texture: PhysicallyBasedMaterial.Texture? = nil)

Creates an object from an image texture. - Parameters: - texture: The ambient occlusion texture map.

init · iOS 15.0+

init

TypeScript
static init(value: CustomMaterial_AmbientOcclusion): PhysicallyBasedMaterial_AmbientOcclusion
Swift declaration
init(_ value: CustomMaterial.AmbientOcclusion)

Creates an object from a custom material’s ambient occlusion property. - Parameters: - value: The ambient occlusion property from a `CustomMaterial`.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →