Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNGeometryElementMBS class.

SCNGeometryElementMBS.bytesPerIndex as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The number of bytes that represent each index value in the element’s data.

An element’s data property holds an array of index values identifying vertices in a geometry source. SceneKit interprets the data as an array of unsigned integers, whose size is specified by the bytesPerIndex property.
(Read only property)

SCNGeometryElementMBS.Data as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The data describing the geometry element.

An element’s data is an array of index values identifying vertices in a geometry source. SceneKit interprets the data as an array of unsigned integers, whose size is specified by the bytesPerIndex property.
(Read only property)

SCNGeometryElementMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The internal object reference.

(Read and Write property)

SCNGeometryElementMBS.maximumPointScreenSpaceRadius as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The largest radius, measured in screen points, at which to render any point in the geometry element.

Some visual effects call for rendering a geometry as a collection of individual points—that is, a point cloud, not a solid surface or wireframe mesh. When you use this option, SceneKit can render each point as a small 2D surface that always faces the camera. By applying a texture or custom shader to that surface, you can efficiently render many small objects at once.
To render a geometry element as a point cloud, you must set three properties: pointSize, minimumPointScreenSpaceRadius, and maximumPointScreenSpaceRadius. Use pointSize to determine how large each point appears in world space, so that points farther away appear as smaller 2D surfaces. Use the minimum and maximum radius properties to ensure that the on-screen rendering of each point fits within a certain range of pixel sizes.
For example, to render a point cloud where each point is always one pixel wide (like a field of stars), set both the minimum and maximum sizes to one pixel. To render a group of objects whose screen sizes vary with perspective (like a set of images representing planets), set the minimum size to one pixel and the maximum size to a much larger value.
(Read and Write property)

SCNGeometryElementMBS.minimumPointScreenSpaceRadius as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The smallest radius, measured in screen points, at which to render any point in the geometry element.

Some visual effects call for rendering a geometry as a collection of individual points—that is, a point cloud, not a solid surface or wireframe mesh. When you use this option, SceneKit can render each point as a small 2D surface that always faces the camera. By applying a texture or custom shader to that surface, you can efficiently render many small objects at once.
To render a geometry element as a point cloud, you must set three properties: pointSize, minimumPointScreenSpaceRadius, and maximumPointScreenSpaceRadius. Use pointSize to determine how large each point appears in world space, so that points farther away appear as smaller 2D surfaces. Use the minimum and maximum radius properties to ensure that the on-screen rendering of each point fits within a certain range of pixel sizes.
For example, to render a point cloud where each point is always one pixel wide (like a field of stars), set both the minimum and maximum sizes to one pixel. To render a group of objects whose screen sizes vary with perspective (like a set of images representing planets), set the minimum size to one pixel and the maximum size to a much larger value.
(Read and Write property)

SCNGeometryElementMBS.pointSize as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The width of each point in the geometry element, as measured in the geometry's local 3D coordinate space.

Some visual effects call for rendering a geometry as a collection of individual points—that is, a point cloud, not a solid surface or wireframe mesh. When you use this option, SceneKit can render each point as a small 2D surface that always faces the camera. By applying a texture or custom shader to that surface, you can efficiently render many small objects at once.
To render a geometry element as a point cloud, you must set three properties: pointSize, minimumPointScreenSpaceRadius, and maximumPointScreenSpaceRadius. Use pointSize to determine how large each point appears in world space, so that points farther away appear as smaller 2D surfaces. Use the minimum and maximum radius properties to ensure that the on-screen rendering of each point fits within a certain range of pixel sizes.
(Read and Write property)

SCNGeometryElementMBS.primitiveCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The number of primitives in the element.

(Read only property)

SCNGeometryElementMBS.primitiveRange as NSRangeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The range of primitives from the geometry element to render.

The default value for this property is an NSRangeMBS whose location is NSNotFound (-1) and length is zero, indicating that, by default, SceneKit renders the entire set of primitives specified by a geometry element's data buffer.
You can change a geometry without redefining it by choosing to render only a subset of the primitives specified by a geometry element. To do so, set this property to a subrange of primitive indexes.
(Read and Write property)

SCNGeometryElementMBS.primitiveType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The drawing primitive that connects vertices when rendering the geometry element.

(Read only property)

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


The biggest plugin in space...