Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
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
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. |
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.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNMaterialMBS - SCNMatrix4MBS