EngineKit
Cone Class Reference

#import <Cone.h>

Inheritance diagram for Cone:
Shape <ConeExport> Item

Class Methods

(instancetype) + cone
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <ConeExport>
(instancetype) + create
 

Properties

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

Detailed Description

A cone, which is may be whole or cut off at the top (like a conical frustrum).

Method Documentation

+ (SCNCone *) cone

Creates a new instance of Cone, with the default measures set by SCNCone.

Returns
a new, default instance of Cone.

Reimplemented from <ConeExport>.

Property Documentation

- (CGFloat) bottomRadius
readwritenonatomicassign

An alias for the SCNCone's bottomRadius property. Speficies the radius used for the Cone's base, which is very intuitive when the Cone is not a frustrum. The base is aligned with the xz plane and is centered in the origin.

See also
topRadius
height
- (CGFloat) height
readwritenonatomicassign

An alias for the SCNCone's height property. Speficies the extent of the cone along the y axis.

See also
bottomRadius
topRadius
- (CGFloat) radius
readwritenonatomicassign

An alias for the SCNCone's bottomRadius property. Speficies the radius used for the Cone's base, which is very intuitive when the Cone is not a frustrum. The base is aligned with the xz plane and is centered in the origin.

See also
topRadius
height
- (CGFloat) topRadius
readwritenonatomicassign

An alias for the SCNCone's topRadius property. Speficies the radius used for the Cone's top circle when it is a conical frustrum. A top radius of 0 is the default and results in an ordinary cone. The top circle is aligned with the xz plane and is centered in the origin.

See also
bottomRadius
height

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