EngineKit
Sphere Class Reference

#import <Sphere.h>

Inheritance diagram for Sphere:
Shape <SphereExport> Item

Class Methods

(instancetype) + sphere
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <SphereExport>
(instancetype) + create
 

Properties

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

Detailed Description

A sphere, with specifiable radius.

Method Documentation

+ (SCNSphere *) sphere

Creates a new instance of Sphere, with the default measures set by SCNSphere.

Returns
a new, default instance of Sphere.

Property Documentation

- (CGFloat) radius
readwritenonatomicassign

An alias for the SCNSphere's radius property. Speficies the radius used for the Sphere, which is centered in the origin.


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