Interface IEditablePathController
Syntax
public interface IEditablePathController
Properties
closestEditablePath
Declaration
IEditablePath closestEditablePath { get; }
Property Value
editablePath
Declaration
IEditablePath editablePath { get; set; }
Property Value
enableSnapping
Declaration
bool enableSnapping { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
snapping
Declaration
ISnapping<Vector3> snapping { get; set; }
Property Value
Methods
AddClosestPath(Single)
Declaration
void AddClosestPath(float distance)
Parameters
| Type |
Name |
Description |
| System.Single |
distance |
|
ClearClosestPath()
Declaration
ClearSelection()
Declaration
CreatePoint(Int32, Vector3)
Declaration
void CreatePoint(int index, Vector3 position)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| Vector3 |
position |
|
MoveEdge(Int32, Vector3)
Declaration
void MoveEdge(int index, Vector3 delta)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| Vector3 |
delta |
|
MoveSelectedPoints(Vector3)
Declaration
void MoveSelectedPoints(Vector3 delta)
Parameters
| Type |
Name |
Description |
| Vector3 |
delta |
|
RegisterUndo(String)
Declaration
void RegisterUndo(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
RemoveSelectedPoints()
Declaration
void RemoveSelectedPoints()
SelectPoint(Int32, Boolean)
Declaration
void SelectPoint(int index, bool select)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.Boolean |
select |
|
SetLeftTangent(Int32, Vector3, Boolean, Boolean, Vector3, TangentMode)
Declaration
void SetLeftTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedRightTangent, TangentMode cachedTangentMode)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| Vector3 |
position |
|
| System.Boolean |
setToLinear |
|
| System.Boolean |
mirror |
|
| Vector3 |
cachedRightTangent |
|
| TangentMode |
cachedTangentMode |
|
SetRightTangent(Int32, Vector3, Boolean, Boolean, Vector3, TangentMode)
Declaration
void SetRightTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedLeftTangent, TangentMode cachedTangentMode)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| Vector3 |
position |
|
| System.Boolean |
setToLinear |
|
| System.Boolean |
mirror |
|
| Vector3 |
cachedLeftTangent |
|
| TangentMode |
cachedTangentMode |
|