Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::SControlPoint Struct Reference

Bezier control point used to generate interpolation graph entries. More...

#include <Utils/CInterpolator.h>

Public Types

enum  EControlType { Auto = 0 , Smooth , Broken , Linear }
 Tangent behavior for a control point. More...

Public Member Functions

 SControlPoint ()
 Construct an automatic control point.

Public Attributes

core::vector2df Position
 Point position.
core::vector2df Left
 Left tangent offset.
core::vector2df Right
 Right tangent offset.
EControlType Type
 Control point tangent type.

Detailed Description

Bezier control point used to generate interpolation graph entries.

Member Enumeration Documentation

◆ EControlType

Tangent behavior for a control point.

Enumerator
Auto 

Tangents are generated automatically.

Smooth 

Tangents remain smooth through the point.

Broken 

Left and right tangents may move independently.

Linear 

Segment is treated as linear.


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