Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNMaterialPropertyMBS class.
SCNMaterialPropertyMBS.borderColor as NSColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
When the material property’s contents are a texture image and its texture wrapping properties are set to SCNWrapModeClampToBorder, the border color appears in areas of a textured geometry not covered by the texture image, as shown in .
(Read and Write property)
SCNMaterialPropertyMBS.contents as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
see also
https://developer.apple.com/documentation/scenekit/scnmaterialproperty/1395372-contents
(Read and Write property)
SCNMaterialPropertyMBS.contentsTransform as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
SceneKit applies this transformation to the texture coordinates provided by the geometry object the material is attached to, then uses the resulting coordinates to map the material property’s contents across the surface of the material. (This transformation has no effect if the material property’s contents object is a constant color.)
(Read and Write property)
SCNMaterialPropertyMBS.intensity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default intensity is 1.0. Reducing the intensity fades out the contents of the material property, causing different effects depending on which visual property of an SCNMaterialMBS object it represents:
- For the normal property, intensity varies the apparent roughness of the normal-mapped surface. Reducing intensity makes the surface appear more smooth.
- For the multiply property, reducing intensity blends the material property’s colors with white, effectively reducing the strength of the color multiplication effect.
- For all other properties, reducing intensity dims the material property’s contents.
SCNMaterialPropertyMBS.magnificationFilter as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Texture filtering determines the appearance of a material property’s contents when portions of the material surface appear larger or smaller than the original texture image. For example, the texture coordinates at a point near the camera may correspond to a small fraction of a pixel in the texture image. SceneKit uses the magnification filter to determine the color of the sampled texel at that point.
The default magnification filter is SCNFilterModeLinear.
(Read and Write property)
SCNMaterialPropertyMBS.mappingChannel as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A geometry can have multiple independent sources of texture coordinates, each of which defines a unique mapping channel number. You can use these channels to map different visual properties of a material in different ways. For example, a geometry representing a picture frame might use one set of texture coordinates for mapping the materials of the frame itself, and another set of texture coordinates for placing a picture into the frame.
For information about creating geometries with multiple texture mapping channels, see SCNGeometryMBS.
(Read and Write property)
SCNMaterialPropertyMBS.maxAnisotropy as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
see
https://developer.apple.com/documentation/scenekit/scnmaterialproperty/1395402-maxanisotropy
(Read and Write property)
SCNMaterialPropertyMBS.minificationFilter as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Texture filtering determines the appearance of a material property’s contents when portions of the material surface appear larger or smaller than the original texture image. For example, the texture coordinates at a point far from the camera may correspond to an area of several pixels in the texture image. SceneKit uses the minification filter to determine the color of the sampled texel at that point.
The default minification filter is SCNFilterModeLinear. See constants for available modes and their effects.
(Read and Write property)
SCNMaterialPropertyMBS.mipFilter as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
see
https://developer.apple.com/documentation/scenekit/scnmaterialproperty/1395398-mipfilter
(Read and Write property)
SCNMaterialPropertyMBS.wrapS as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Wrapping modes determine texture mapping behavior for cases where a material’s texture coordinates extend outside the range from 0.0 to 1.0. For example, if you use the contentsTransform property to shrink a texture relative to the surface of a geometry, you use the wrap mode properties to determine whether the texture repeats across the surface.
The S texture coordinate measures the horizontal axis of a texture image, increasing from 0.0 at the left edge of the image to 1.0 at the right edge.
The default wrap mode is SCNWrapModeClamp. See constants for available modes and their effects.
(Read and Write property)
SCNMaterialPropertyMBS.wrapT as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Wrapping modes determine texture mapping behavior for cases where a material’s texture coordinates extend outside the range from 0.0 to 1.0. For example, if you use the contentsTransform property to shrink a texture relative to the surface of a geometry, you use the wrap mode properties to determine whether the texture repeats across the surface.
The T texture coordinate measures the vertical axis of a texture image, increasing from 0.0 at the bottom of the image to 1.0 at the top.
The default wrap mode is SCNWrapModeClamp.
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.