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

The PlaygroundSplineMesh class lets you create a mesh from a Playground Spline. More...

Inheritance diagram for PlaygroundSplines.PlaygroundSplineMesh:

Public Member Functions

void BuildSplineMesh (PlaygroundSpline spline, int points, float width)
 

Public Attributes

PlaygroundSpline spline
 
int points = 100
 
float width = 1f
 
bool noise = false
 
float noiseStrength = 1f
 
Vector2 noiseScale = new Vector2(1f,1f)
 
bool noiseDistribution
 
AnimationCurve noiseDistributionL
 
AnimationCurve noiseDistributionR
 
bool followSurface = false
 
bool followSurfaceRotation = false
 
float surfaceOffset = .1f
 
Vector3 meshUpDirection = Vector3.up
 
Vector3 surfaceDirection = Vector3.down
 

Detailed Description

The PlaygroundSplineMesh class lets you create a mesh from a Playground Spline.


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