Platforms to show: All Mac Windows Linux Cross-Platform

SCNTextMBS class

Superclass: SCNGeometryMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SceneKit MBS Mac64bit Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
SCNText represents a block of text that has been extruded
Example
// This example needs a window with SCNControl1, a DesktopSCNControlMBS.
// show 3D text
Var geometry As New SCNTextMBS("Hello", 0.5)
geometry.font = NSFontMBS.boldSystemFontOfSize(2)
geometry.firstMaterial.diffuse.contents = NSColorMBS.systemRedColor
Var node As New SCNNodeMBS(geometry)

Var scene As New SCNSceneMBS
scene.rootNode.addChildNode node


Var view As SCNViewMBS = SCNControl1.View
view.scene = scene
view.allowsCameraControl = True // rotate with the mouse
view.autoenablesDefaultLighting = True

Subclass of the SCNGeometryMBS class.

Superclass SCNGeometryMBS

This class has no subclasses.

Blog Entries

Xojo Developer Magazine

Release notes

Some related classes:


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


SCNSphereMBS   -   SCNTorusMBS


The biggest plugin in space...