Thursday, September 20, 2012 [Tweets] [Favorites]

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

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

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment