public VoxelProperties(Matrix4x4 Transform, SurfaceProperties Surface, ColorProperties Color, WaveProperties Wave) { this.Transform = Transform; this.Surface = Surface; this.Color = Color; this.Wave = Wave; }
//called when data for any output pin is requested public void Evaluate(int SpreadMax) { if (FThickness.IsChanged) { FOutput.SliceCount = SpreadMax; for (int i = 0; i < SpreadMax; i++) { FOutput[i] = new SurfaceProperties(FThickness[i]); } } }