Inheritance
SplineDataToolBase<DataType>
public abstract class SplineDataToolBase<DataType> : EditorTool
Type Parameters
Name |
Description |
DataType |
|
Fields
Declaration
protected const float k_HandleSize = null
Field Value
Methods
User defined method, for simplicity here, all the SplineData Tools have to override the same DrawDataPoint method for consistency between tools
Declaration
protected abstract bool DrawDataPoint(Vector3 position, Vector3 tangent, Vector3 up, DataType inValue, out DataType outValue)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Vector3 |
tangent |
|
Vector3 |
up |
|
DataType |
inValue |
|
DataType |
outValue |
|
Returns
Type |
Description |
Boolean |
True if the dataPoint is manipulated, else false.
|
Declaration
protected bool DrawDataPoints(ISpline spline, SplineData<DataType> splineData)
Parameters
Returns