Platforms to show: All Mac Windows Linux Cross-Platform

SCNMaterialPropertyMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SceneKit MBS Mac64bit Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A container for the color or texture of one of a material’s visual properties.

A material has several visual properties that together determine its appearance under lighting and shading. SceneKit renders each pixel in the scene by combining the information from material properties with the locations, intensities, and colors of lights.
A material property’s contents can be either a color, which provides a uniform effect across the surface of a material, or a texture, which SceneKit maps across the surface of a material using texture coordinates provided by the geometry object the material is attached to. A texture, in turn, can come from any of several sources, such as an image object, a URL to an image file, a specially formatted image or set of images for use as a cube map, or even animated content provided by Core Animation, SpriteKit, or AVFoundation—for the full set of options, see the contents property.

see also
https://developer.apple.com/documentation/scenekit/scnmaterialproperty

Filter Modes

Constant Value Description
SCNFilterModeLinear 2 Texture filtering sample texels from the neighborhood of the coordinates being sampled and linearly interpolates their colors.
SCNFilterModeNearest 1 Texture filtering returns the color from only one texel, whose location is nearest to the coordinates being sampled.
SCNFilterModeNone 0 No texture filtering is applied.
Only valid for the mipFilter property, specifying that SceneKit should not use mip mapping.

Wrap Modes

Constant Value Description
SCNWrapModeClamp 1 Texture coordinates are clamped to the range from 0.0 to 1.0, inclusive. more
SCNWrapModeClampToBorder 3 Texture sampling uses texture colors for coordinates in the range from 0.0 to 1.0 (inclusive) and the material property’s borderColor value otherwise. more
SCNWrapModeMirror 4 Texture sampling of texture coordinates outside range from 0.0 to 1.0 should behave as if the range reverses before repeating. more
SCNWrapModeRepeat 2 Texture sampling uses only the fractional part of texture coordinates, passing through the range from 0.0 to (but not including) 1.0. more

This class has no sub classes.

Some properties using for this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Mac64bit Plugin.


SCNMaterialMBS   -   SCNMatrix4MBS


The biggest plugin in space...