Properties

CC3SimpleLineNode Class Reference

CC3SimpleLineNode simplifies the creation of a simple two-point straight line. More...

#import <CC3ParametricMeshNodes.h>

Inheritance diagram for CC3SimpleLineNode:
Inheritance graph
[legend]
Collaboration diagram for CC3SimpleLineNode:
Collaboration graph
[legend]

List of all members.

Properties

CC3Vector lineEnd
CC3Vector lineStart

Detailed Description

CC3SimpleLineNode simplifies the creation of a simple two-point straight line.

You can create a single simple straight line model by instantiating an instance of this class and then setting either or both of the lineStart and lineEnd properties.

The mesh underlying this node is automatically populated as a simple two-vertex line. When using this class, you do not need to use any of the populateAs... methods to generate and populate the mesh.


Property Documentation

- (CC3Vector) lineEnd [read, write, assign]

Indicates the end of the line in the local coordinate system of this node.

The initial value is kCC3VectorZero, indicating that the line ends at the origin of the local coordinate system.

- (CC3Vector) lineStart [read, write, assign]

Indicates the start of the line in the local coordinate system of this node.

The initial value is kCC3VectorZero, indicating that the line starts at the origin of the local coordinate system.


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