Represents and anchor point with two control points
More...
|
| CurvePoint (Vector3 anchorPt, Vector3 controlPtLeft, Vector3 controlPtRight) |
|
Vector3 | GetForwardDirection (PointType type, Transform parentTransform=null) |
| Gets wherever the control point or anchor is pointing. If a transform is passed, it converts the direction to that transform's local space. More...
|
|
Represents and anchor point with two control points
◆ GetForwardDirection()
Vector3 CurvePoint.GetForwardDirection |
( |
PointType |
type, |
|
|
Transform |
parentTransform = null |
|
) |
| |
Gets wherever the control point or anchor is pointing. If a transform is passed, it converts the direction to that transform's local space.
- Parameters
-
type | Anchor, left control or right control point? |
- Returns
◆ this[PointType pointType]
Vector3 CurvePoint.this[PointType pointType] |
|
getset |
Lets you get one of the three points by type rather than by index
- Parameters
-
pointType | The type of the point to get |
- Returns
The documentation for this class was generated from the following file:
- C:/dev/Students/CH15/Pamela.Figueroa/Spline Editor/Assets/Scripts/SplineCreation/CurvePoint.cs