AppleSCNText - UBogun/Xojo-iosLib GitHub Wiki
Inherits from AppleSCNGeometry
Memory leak check: not yet done.
Status: completed
An SCNText object is a geometry that creates its contents from a string of text, rendered in 2D and optionally extruded to create a three-dimensional object.
Please see the superclass for more properties and methods
Constructors
Constructor (aText As Text, extrusionDepth As Double): Creates a text geometry from a specified string, extruded with a specified depth.
Constructor (aText As AppleAttributedString, extrusionDepth As Double): Creates a text geometry from a specified attributed string, extruded with a specified depth.
Properties
AttributedStringValue As AppleAttributedString: The TextValue property as AttributedString.
ChamferProfile As AppleBezierPath: A path that determines the cross-sectional contour of each chamfered edge.
ChamferRadius As Double: The width or depth of each chamfered edge. Animatable. Default 0.0.
ExtrusionDepth As Double: The thickness of the extruded string shape along the z-axis. Animatable.
Flatness As Double: A number that determines the accuracy or smoothness of the text geometry. Default 0.6.
Font As AppleFont: The font that SceneKit uses to create geometry from the text.
LineBreakMode As AppleLabel.NSLineBreakMode: How SceneKit truncates text that is too long to fit its container. Sets TruncationMode and Wrapped internally.
TextAlignment As AppleCATextLayer.NSTextAlignment: How SceneKit horizontally aligns each line of text within its container. Sets the private Alignmentmode constant internally.
TextValue As Text: The string object whose text the geometry represents.
Wrapped As Boolean: Whether SceneKit wraps long lines of text.