Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNGeometrySourceMBS class.

SCNGeometrySourceMBS.bytesPerComponent 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 size, in bytes, of each vector component.

(Read only property)

SCNGeometrySourceMBS.componentsPerVector 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 scalar components in each vector.

(Read only property)

SCNGeometrySourceMBS.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 for the geometry source.

A geometry source’s data is an array of vectors, each of which represents a particular attribute (or semantic) of a vertex in the geometry. The other properties of the geometry source determine how SceneKit interprets this data. For example, an array of vertex positions may have three 32-bit floating-point components per vector, but an array of texture coordinates may have two 8-bit integer coponents per vector.
(Read only property)

SCNGeometrySourceMBS.dataOffset 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 offset, in bytes, from the beginning of the data to the first vector component to be used in the geometry source.

You can use the dataOffset and dataStride parameters can be used together to interleave data for multiple geometry sources in the same array, improving rendering performance. See SCNGeometrySourceMBS for details.
(Read only property)

SCNGeometrySourceMBS.dataStride 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 from a vector to the next one in the data.

You can use the dataOffset and dataStride parameters can be used together to interleave data for multiple geometry sources in the same array, improving rendering performance. See SCNGeometrySourceMBS for details.
(Read only property)

SCNGeometrySourceMBS.floatComponents as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A Boolean value that indicates whether vector components are floating-point values.

If true, SceneKit interprets the geometry source’s data as an array of vectors whose components are floating-point values. The type of floating-point value is determined by the SCNGeometrySourceMBS property: 4 bytes for float values or 8 bytes for double values.
If false, SceneKit interprets the geometry source’s data as an array of vectors whose components are integer values. The type of integer value is determined by the SCNGeometrySourceMBS property; for example, 2 bytes for unsigned short values or 4 bytes for unsigned int values.
(Read only property)

SCNGeometrySourceMBS.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)

SCNGeometrySourceMBS.semantic as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 19.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The semantic value (or attribute) the geometry source describes for each vertex.

A semantic describes an attribute for each vertex, such as position, color, surface normal vector, or texture coordinates.
See Geometry Semantic Identifiers for available values.
(Read only property)

SCNGeometrySourceMBS.vectorCount 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 vectors in the data.

(Read only property)

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


The biggest plugin in space...