Falco Engine 3.9.0.1 (beta)
FalcoEngine.Spline Class Reference
Inheritance diagram for FalcoEngine.Spline:
FalcoEngine.Component

Public Member Functions

void AddPoint (Vector3 value)
 Add point to the spline More...
 
void RemovePoint (int index)
 Remove point from the spline by index More...
 
Vector3 GetPoint (int index)
 Get point by index More...
 
void SetPoint (int index, Vector3 value)
 Set point by index More...
 
Vector3 GetSplinePoint (float t)
 Get interpolated point on the spline at described position (0...1) More...
 
Vector3 GetSplineDirection (float t)
 Get direction on the spline at described position (0...1) More...
 

Properties

int numPoints [get]
 Get number of points in the spline More...
 
- Properties inherited from FalcoEngine.Component
bool enabled [getset]
 Enable or disable this component More...
 
GameObject gameObject [get]
 Get game object at which this component is attached More...
 
bool isUiComponent [get]
 Returns if this component is derived from UIElement (or this is a canvas) or not More...
 

Additional Inherited Members

- Protected Member Functions inherited from FalcoEngine.Component
 Component ()
 

Detailed Description

Definition at line 9 of file Spline.cs.

Member Function Documentation

◆ AddPoint()

void FalcoEngine.Spline.AddPoint ( Vector3  value)

Add point to the spline

Parameters
value

Definition at line 27 of file Spline.cs.

◆ GetPoint()

Vector3 FalcoEngine.Spline.GetPoint ( int  index)

Get point by index

Parameters
index
Returns

Definition at line 46 of file Spline.cs.

◆ GetSplineDirection()

Vector3 FalcoEngine.Spline.GetSplineDirection ( float  t)

Get direction on the spline at described position (0...1)

Parameters
t
Returns

Definition at line 78 of file Spline.cs.

◆ GetSplinePoint()

Vector3 FalcoEngine.Spline.GetSplinePoint ( float  t)

Get interpolated point on the spline at described position (0...1)

Parameters
t
Returns

Definition at line 67 of file Spline.cs.

◆ RemovePoint()

void FalcoEngine.Spline.RemovePoint ( int  index)

Remove point from the spline by index

Parameters
index

Definition at line 36 of file Spline.cs.

◆ SetPoint()

void FalcoEngine.Spline.SetPoint ( int  index,
Vector3  value 
)

Set point by index

Parameters
index
value

Definition at line 57 of file Spline.cs.

Property Documentation

◆ numPoints

int FalcoEngine.Spline.numPoints
get

Get number of points in the spline

Definition at line 21 of file Spline.cs.


The documentation for this class was generated from the following file: