Thursday, September 20, 2012

SCNMaterialProperty.contents

Andy Lee:

I wonder if this property sets a record for the greatest number of disparate, specific types a value is allowed to have in Cocoa. I'm talking about formal Objective-C types, disregarding semantics.

It can be an an NSColor, an NSImage, a CALayer, a CGColorRef, CGImageRef, or an NSArray of six images.

1 Comment RSS · Twitter


It is not documented but it also accept a NSURL or a path (NSString)

Leave a Comment