Table of Contents

Class GSplineToolUtilities

Namespace
Pinwheel.Griffin.SplineTool
Assembly
Pinwheel.Polaris.Runtime.dll

Contains functions for extracting spline mask texture.

public static class GSplineToolUtilities
Inheritance
GSplineToolUtilities
Inherited Members

Methods

RenderAlphaMask(RenderTexture, ComputeBuffer, ComputeBuffer, int, Vector4)

Render the spline alpha mask on a texture.

RenderBoolMask(RenderTexture, ComputeBuffer, int, Vector4)

Render the spline bool mask on a texture. The mask contains 1 where the spline pass through, otherwise 0.

RenderHeightMap(RenderTexture, ComputeBuffer, ComputeBuffer, int, Vector4, float)

Render the spline height map on a texture. It contains value in [0,1] relative to [0,maxHeight].