EngineKit
Text Class Reference

#import <Text.h>

Inheritance diagram for Text:
Shape <TextExport> Item

Class Methods

(instancetype) + text
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <TextExport>
(instancetype) + create
 

Properties

CGFloat depth
 
id string
 
- Properties inherited from Shape
id color
 
- Properties inherited from Item
SCNNode * node
 The node that this Item is wrapping.
 
id position
 
id rotation
 
id scale
 
SCNGeometry * geometry
 
- Properties inherited from <TextExport>
id position
 
id rotation
 
id scale
 
id color
 
CGFloat depth
 
id string
 

Detailed Description

A 3D text, with specifiable depth and string.

Method Documentation

+ (SCNText *) text

Creates a new instance of Text, with the default measures set by SCNText.

Returns
a new, default instance of Text.

Property Documentation

- (CGFloat) depth
readwritenonatomicassign

An alias for the SCNText's extrusionDepth property. Speficies the depth that the characters will have.

- (id) string
readwritenonatomicassign

An alias for the SCNText's string property. Speficies the text that will be displayed. May be an instance of NSString or NSAttributedString.

See also
SCNText's string property.

The documentation for this class was generated from the following files: