Bug 28174 - SCNMaterialProperty.Contents does not bind CGImageRef option
Summary: SCNMaterialProperty.Contents does not bind CGImageRef option
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) (show other bugs)
Version: 1.12.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2015-03-18 20:28 UTC by troy-dawson
Modified: 2016-09-26 21:58 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description troy-dawson 2015-03-18 20:28:06 UTC
There are various objects that can be legally assigned to SCNMaterialProperty.Contents, including:

"An image (NSImage or CGImageRef), specifying a texture to be mapped across the material’s surface"


However there is no binding for assigning a CGImageRef in XM currently
Comment 1 Rajneesh Kumar 2015-03-24 10:26:12 UTC
I have checked this issue and able to reproduce this. To reproduce this issue I have followed the help and instruction provided in bug description. 

Steps I followed:

1. Create a Xam.Mac application in XS.
2. Go to assembly browser and search 'SCNMaterialProperty' class.
3. Now, search in class definition "CGImageRef".
4. Observed that there is no binding for assigning a CGImageRef in XM.

Screencast: http://www.screencast.com/t/U5xmxufM1

Ide Logs: https://gist.github.com/Rajneesh360Logica/2a3c3252c0e998b77283

Environment Info:

=== Xamarin Studio ===

Version 5.9 (build 296)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
	Mono 4.0.0 ((detached/c52336f)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000093

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 012108b
Branch: master
Build date: 2015-03-24 03:03:50-0400

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Business Edition)

=== Build Information ===

Release ID: 509000296
Git revision: 7a9ca2a858ef1fac4ef8cab9e46cd3d9ac1cf870
Build date: 2015-03-23 16:59:44-04
Xamarin addins: fad66559ea5a308dacec9e5fdd1578c909d97688

=== Operating System ===

Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

Note You need to log in before you can comment on or make changes to this bug.