EngineKit
Plane Class Reference

#import <Plane.h>

Inheritance diagram for Plane:
Shape <PlaneExport> Item

Class Methods

(instancetype) + plane
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <PlaneExport>
(instancetype) + create
 

Properties

CGFloat width
 
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 <PlaneExport>
id position
 
id rotation
 
id scale
 
id color
 
CGFloat width
 
CGFloat height
 

Detailed Description

A plane, with limited width and height, is much like a square.

Method Documentation

+ (SCNPlane *) plane

Creates a new instance of Plane, with the default measures set by SCNPlane.

Returns
a new, default instance of Plane.

Reimplemented from <PlaneExport>.

Property Documentation

- (CGFloat) height
readwritenonatomicassign

An alias for the SCNPlane's height property. Speficies the height used for the Plane, which represents its y axis extent.

- (CGFloat) width
readwritenonatomicassign

An alias for the SCNPlane's width property. Speficies the width used for the Plane, which represents its x axis extent.


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