Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNMaterialPropertyMBS class.
SCNMaterialPropertyMBS.materialPropertyWithColor(color as NSColorMBS) as SCNMaterialPropertyMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
SCNMaterialPropertyMBS.materialPropertyWithContents(content as Variant) as SCNMaterialPropertyMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
contents: The visual contents of the material property—a color, image, or source of animated content. For details, see the discussion of the contents property.
Returns a new material property object.
Newly created SCNMaterialMBS objects contain SCNMaterialPropertyMBS instances for all of their visual properties. To change a material’s visual properties, you modify those instances rather than creating new material property objects.
You create new SCNMaterialPropertyMBS instances to provide textures for use with custom GLSL shaders—for details, see SCNShadableMBS.
SCNMaterialPropertyMBS.materialPropertyWithImage(image as NSImageMBS) as SCNMaterialPropertyMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
SCNMaterialPropertyMBS.materialPropertyWithLayer(layer as CALayerMBS) as SCNMaterialPropertyMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
SCNMaterialPropertyMBS.materialPropertyWithPicture(picture as Picture) as SCNMaterialPropertyMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The items on this page are in the following plugins: MBS Mac64bit Plugin.