Particle Playground - Script Reference  3.0.1
Framework for controlling particles in the Unity Engine.
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Package PlaygroundSplines

Collection of methods for working with splines. This is based on the great learning tutorial Curves and Splines by Jasper Flick. More...

Classes

class  Bezier
 Class for common bezier operations on a spline.
 
class  PlaygroundSpline
 Holds information about a spline and contains functions for working with the nodes and bezier handles. More...
 
class  PlaygroundSplineMesh
 The PlaygroundSplineMesh class lets you create a mesh from a Playground Spline. More...
 
class  TransformNode
 

Enumerations

enum  SplineMode { Vector3, Transform }
 
enum  BezierControlPointMode { BezierControlPointMode.Aligned, BezierControlPointMode.Mirrored, BezierControlPointMode.Free }
 The bezier mode for a spline node. This controls how one bezier handle acts in relation to the other. More...
 

Detailed Description

Collection of methods for working with splines. This is based on the great learning tutorial Curves and Splines by Jasper Flick.

References: http://catlikecoding.com/unity/tutorials/curves-and-splines/ http://answers.unity3d.com/questions/374333/positioning-an-object-on-a-spline-relative-to-play.html

Enumeration Type Documentation

The bezier mode for a spline node. This controls how one bezier handle acts in relation to the other.

Enumerator
Aligned 

Align the angle between the two bezier handles but keep individual lengths. Has a differential smooth in and out angle.

Mirrored 

Align the angle and length between the two bezier handles. Has an equally smooth in and out angle.

Free 

Bezier handles are freely aligned without consideration to the other. Ables you to have sharp angles.