init
TypeScriptstatic init(): SCNMaterialSwift declarationinit()class · SDK 27.1
class SCNMaterialstatic init(): SCNMaterialSwift declarationinit()get ambient(): SCNMaterialPropertySwift declarationvar ambient: SCNMaterialProperty { get }get ambientOcclusion(): SCNMaterialPropertySwift declarationvar ambientOcclusion: SCNMaterialProperty { get }get blendMode(): SCNBlendModeSwift declarationvar blendMode: SCNBlendMode { get set }set blendMode(value: SCNBlendMode)Swift declarationvar blendMode: SCNBlendMode { get set }get clearCoat(): SCNMaterialPropertySwift declarationvar clearCoat: SCNMaterialProperty { get }get clearCoatNormal(): SCNMaterialPropertySwift declarationvar clearCoatNormal: SCNMaterialProperty { get }get clearCoatRoughness(): SCNMaterialPropertySwift declarationvar clearCoatRoughness: SCNMaterialProperty { get }get colorBufferWriteMask(): SCNColorMaskSwift declarationvar colorBufferWriteMask: SCNColorMask { get set }set colorBufferWriteMask(value: SCNColorMask)Swift declarationvar colorBufferWriteMask: SCNColorMask { get set }get cullMode(): SCNCullModeSwift declarationvar cullMode: SCNCullMode { get set }set cullMode(value: SCNCullMode)Swift declarationvar cullMode: SCNCullMode { get set }get diffuse(): SCNMaterialPropertySwift declarationvar diffuse: SCNMaterialProperty { get }get displacement(): SCNMaterialPropertySwift declarationvar displacement: SCNMaterialProperty { get }get isDoubleSided(): booleanSwift declarationvar isDoubleSided: Bool { get set }set isDoubleSided(value: boolean)Swift declarationvar isDoubleSided: Bool { get set }get emission(): SCNMaterialPropertySwift declarationvar emission: SCNMaterialProperty { get }get fillMode(): SCNFillModeSwift declarationvar fillMode: SCNFillMode { get set }set fillMode(value: SCNFillMode)Swift declarationvar fillMode: SCNFillMode { get set }get fresnelExponent(): numberSwift declarationvar fresnelExponent: CGFloat { get set }set fresnelExponent(value: number)Swift declarationvar fresnelExponent: CGFloat { get set }get lightingModel(): SCNMaterial_LightingModelSwift declarationvar lightingModel: SCNMaterial.LightingModel { get set }set lightingModel(value: SCNMaterial_LightingModel)Swift declarationvar lightingModel: SCNMaterial.LightingModel { get set }get isLitPerPixel(): booleanSwift declarationvar isLitPerPixel: Bool { get set }set isLitPerPixel(value: boolean)Swift declarationvar isLitPerPixel: Bool { get set }get locksAmbientWithDiffuse(): booleanSwift declarationvar locksAmbientWithDiffuse: Bool { get set }set locksAmbientWithDiffuse(value: boolean)Swift declarationvar locksAmbientWithDiffuse: Bool { get set }get metalness(): SCNMaterialPropertySwift declarationvar metalness: SCNMaterialProperty { get }get multiply(): SCNMaterialPropertySwift declarationvar multiply: SCNMaterialProperty { get }get name(): (string) | nullSwift declarationvar name: String? { get set }set name(value: (string) | null)Swift declarationvar name: String? { get set }get normal(): SCNMaterialPropertySwift declarationvar normal: SCNMaterialProperty { get }get readsFromDepthBuffer(): booleanSwift declarationvar readsFromDepthBuffer: Bool { get set }set readsFromDepthBuffer(value: boolean)Swift declarationvar readsFromDepthBuffer: Bool { get set }get reflective(): SCNMaterialPropertySwift declarationvar reflective: SCNMaterialProperty { get }get roughness(): SCNMaterialPropertySwift declarationvar roughness: SCNMaterialProperty { get }get selfIllumination(): SCNMaterialPropertySwift declarationvar selfIllumination: SCNMaterialProperty { get }get shininess(): numberSwift declarationvar shininess: CGFloat { get set }set shininess(value: number)Swift declarationvar shininess: CGFloat { get set }get specular(): SCNMaterialPropertySwift declarationvar specular: SCNMaterialProperty { get }get transparency(): numberSwift declarationvar transparency: CGFloat { get set }set transparency(value: number)Swift declarationvar transparency: CGFloat { get set }get transparencyMode(): SCNTransparencyModeSwift declarationvar transparencyMode: SCNTransparencyMode { get set }set transparencyMode(value: SCNTransparencyMode)Swift declarationvar transparencyMode: SCNTransparencyMode { get set }get transparent(): SCNMaterialPropertySwift declarationvar transparent: SCNMaterialProperty { get }get writesToDepthBuffer(): booleanSwift declarationvar writesToDepthBuffer: Bool { get set }set writesToDepthBuffer(value: boolean)Swift declarationvar writesToDepthBuffer: Bool { get set }No declarations were skipped in this snapshot.