Inherits from CC3LineNode : CC3MeshNode : CC3LocalContentNode : CC3Node : CC3Identifiable : NSObject
Declared in CC3UtilityMeshNodes.h

Overview

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.

Tasks

Properties

lineEnd

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

@property (nonatomic, assign) CC3Vector lineEnd

Discussion

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

Declared In

CC3UtilityMeshNodes.h

lineStart

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

@property (nonatomic, assign) CC3Vector lineStart

Discussion

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

Declared In

CC3UtilityMeshNodes.h