Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNMaterialPropertyMBS class.
SCNMaterialPropertyMBS.SCNFilterModeLinear = 2
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
Texture filtering sample texels from the neighborhood of the coordinates being sampled and linearly interpolates their colors.
SCNMaterialPropertyMBS.SCNFilterModeNearest = 1
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
Texture filtering returns the color from only one texel, whose location is nearest to the coordinates being sampled.
SCNMaterialPropertyMBS.SCNFilterModeNone = 0
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
No texture filtering is applied.
Only valid for the mipFilter property, specifying that SceneKit should not use mip mapping.
SCNMaterialPropertyMBS.SCNWrapModeClamp = 1
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
Texture coordinates are clamped to the range from 0.0 to 1.0, inclusive.
Texture sampling in areas whose texture coordinates would fall outside this range produces texel colors from the nearest edge of the texture image.
SCNMaterialPropertyMBS.SCNWrapModeClampToBorder = 3
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
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.
Texture sampling in areas whose texture coordinates would fall outside this range uses the borderColor property instead of texel colors from the texture image.
SCNMaterialPropertyMBS.SCNWrapModeMirror = 4
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
Texture sampling of texture coordinates outside range from 0.0 to 1.0 should behave as if the range reverses before repeating.
Texture sampling in areas of the material whose texture coordinates would fall outside from 0.0 to 1.0 results in tiling both texture image and its mirror image across the surface using the material.
SCNMaterialPropertyMBS.SCNWrapModeRepeat = 2
Type | Topic | Plugin | Version |
const | SceneKit | MBS Mac64bit Plugin | 19.1 |
Texture sampling uses only the fractional part of texture coordinates, passing through the range from 0.0 to (but not including) 1.0.
Texture sampling in areas of the material whose texture coordinates would fall outside from 0.0 to 1.0 results in tiling the texture image across the surface using the material.
The items on this page are in the following plugins: MBS Mac64bit Plugin.