One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNMaterialProperty

class · SDK 27.1

class SCNMaterialProperty

Members (28)

init

init

TypeScript
static init(contents: unknown): SCNMaterialProperty
Swift declaration
convenience init(contents: Any)
static · iOS 17.0+

precomputedLightingEnvironmentContents

TypeScript
static precomputedLightingEnvironmentContentsWith(data: ArrayBuffer): unknown
Swift declaration
class func precomputedLightingEnvironmentContents(with data: Data) throws -> Any
static · iOS 17.0+

precomputedLightingEnvironmentContents

TypeScript
static precomputedLightingEnvironmentContentsWith21998(url: string): unknown
Swift declaration
class func precomputedLightingEnvironmentContents(with url: URL) throws -> Any
static · iOS 17.0+

precomputedLightingEnvironmentData

TypeScript
static precomputedLightingEnvironmentData(contents: unknown, device?: (SDKHandle) | null): ArrayBuffer
Swift declaration
class func precomputedLightingEnvironmentData(forContents contents: Any, device: (any MTLDevice)?) throws -> Data
get · iOS 8.0+ · Deprecated in iOS 10.0

borderColor

TypeScript
get borderColor(): (unknown) | null
Swift declaration
var borderColor: Any? { get set }
set · iOS 8.0+ · Deprecated in iOS 10.0

borderColor

TypeScript
set borderColor(value: (unknown) | null)
Swift declaration
var borderColor: Any? { get set }
get

contents

TypeScript
get contents(): (unknown) | null
Swift declaration
var contents: Any? { get set }
set

contents

TypeScript
set contents(value: (unknown) | null)
Swift declaration
var contents: Any? { get set }
get

contentsTransform

TypeScript
get contentsTransform(): SCNMatrix4
Swift declaration
var contentsTransform: SCNMatrix4 { get set }
set

contentsTransform

TypeScript
set contentsTransform(value: SCNMatrix4)
Swift declaration
var contentsTransform: SCNMatrix4 { get set }
get

intensity

TypeScript
get intensity(): number
Swift declaration
var intensity: CGFloat { get set }
set

intensity

TypeScript
set intensity(value: number)
Swift declaration
var intensity: CGFloat { get set }
get

magnificationFilter

TypeScript
get magnificationFilter(): SCNFilterMode
Swift declaration
var magnificationFilter: SCNFilterMode { get set }
set

magnificationFilter

TypeScript
set magnificationFilter(value: SCNFilterMode)
Swift declaration
var magnificationFilter: SCNFilterMode { get set }
get

mappingChannel

TypeScript
get mappingChannel(): number
Swift declaration
var mappingChannel: Int { get set }
set

mappingChannel

TypeScript
set mappingChannel(value: number)
Swift declaration
var mappingChannel: Int { get set }
get

maxAnisotropy

TypeScript
get maxAnisotropy(): number
Swift declaration
var maxAnisotropy: CGFloat { get set }
set

maxAnisotropy

TypeScript
set maxAnisotropy(value: number)
Swift declaration
var maxAnisotropy: CGFloat { get set }
get

minificationFilter

TypeScript
get minificationFilter(): SCNFilterMode
Swift declaration
var minificationFilter: SCNFilterMode { get set }
set

minificationFilter

TypeScript
set minificationFilter(value: SCNFilterMode)
Swift declaration
var minificationFilter: SCNFilterMode { get set }
get

mipFilter

TypeScript
get mipFilter(): SCNFilterMode
Swift declaration
var mipFilter: SCNFilterMode { get set }
set

mipFilter

TypeScript
set mipFilter(value: SCNFilterMode)
Swift declaration
var mipFilter: SCNFilterMode { get set }
get · iOS 11.0+

textureComponents

TypeScript
get textureComponents(): SCNColorMask
Swift declaration
var textureComponents: SCNColorMask { get set }
set · iOS 11.0+

textureComponents

TypeScript
set textureComponents(value: SCNColorMask)
Swift declaration
var textureComponents: SCNColorMask { get set }
get

wrapS

TypeScript
get wrapS(): SCNWrapMode
Swift declaration
var wrapS: SCNWrapMode { get set }
set

wrapS

TypeScript
set wrapS(value: SCNWrapMode)
Swift declaration
var wrapS: SCNWrapMode { get set }
get

wrapT

TypeScript
get wrapT(): SCNWrapMode
Swift declaration
var wrapT: SCNWrapMode { get set }
set

wrapT

TypeScript
set wrapT(value: SCNWrapMode)
Swift declaration
var wrapT: SCNWrapMode { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SCNMaterialProperty.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All SceneKit types →