SCNMaterial

class SCNMaterial : NSObject, SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding
  • SwifterSwift: Initializes a SCNMaterial with a specific diffuse color

    Declaration

    Swift

    convenience init(color: Color)

    Parameters

    color

    diffuse color