EngineKit
Tube Class Reference

#import <Tube.h>

Inheritance diagram for Tube:
Shape <TubeExport> Item

Class Methods

(instancetype) + tube
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <TubeExport>
(instancetype) + create
 

Properties

CGFloat radius
 
CGFloat outerRadius
 
CGFloat innerRadius
 
CGFloat height
 
- 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 <TubeExport>
id position
 
id rotation
 
id scale
 
id color
 
CGFloat radius
 
CGFloat innerRadius
 
CGFloat outerRadius
 
CGFloat height
 

Detailed Description

A tube, with speficiable radius, thickness and height.

Method Documentation

+ (SCNTube *) tube

Creates a new instance of Tube, with the default measures set by SCNTube.

Returns
a new, default instance of Tube.

Reimplemented from <TubeExport>.

Property Documentation

- (CGFloat) height
readwritenonatomicassign

An alias for the SCNTube's height property. Speficies the Tube's extent on the y axis.

- (CGFloat) innerRadius
readwritenonatomicassign

An alias for the SCNTube's innerRadius property. Speficies the radius that the Tube's hole will have.

- (CGFloat) outerRadius
readwritenonatomicassign

An alias for the SCNTube's outerRadius property. Speficies the radius that the Tube will have, or it's extent in the xz plane.

- (CGFloat) radius
readwritenonatomicassign

An alias for the SCNTube's outerRadius property. Speficies the radius that the Tube will have, or it's extent in the xz plane.


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