#import <CC3UtilityMeshNodes.h>
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.
|
readwritenonatomicassign |
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.
|
readwritenonatomicassign |
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.