EngineKit
Cylinder Class Reference

#import <Cylinder.h>

Inheritance diagram for Cylinder:
Shape <CylinderExport> Item

Class Methods

(instancetype) + cylinder
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <CylinderExport>
(instancetype) + create
 

Properties

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

Detailed Description

A cylinder, with speficiable height and radius.

Method Documentation

+ (SCNCylinder *) cylinder

Creates a new instance of Cylinder, with the default measures set by SCNCylinder.

Returns
a new, default instance of Cylinder.

Reimplemented from <CylinderExport>.

Property Documentation

- (CGFloat) height
readwritenonatomicassign

An alias for the SCNCylinder's height property. Speficies the extent of the cylinder in its y axis.

See also
radius
- (CGFloat) radius
readwritenonatomicassign

An alias for the SCNCylinder's radius property. Speficies the radius used for the Cylinder's circular bases, aligned with the xz plane and centered in the origin.

See also
height

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