C# Class Create3DAssets, UnityGPUMarchingCubes

Inheritance: MonoBehaviour
Show file Open project: kristofe/UnityGPUMarchingCubes

Public Properties

Property Type Description
_light Light
absorption float
lightIntensityScale float
n int
texture2D UnityEngine.Texture2D
texture3D UnityEngine.Texture3D
texture3DName string

Public Methods

Method Description
CreateCube ( Mesh m ) : void
Generate2DTexture ( ) : void
Generate3DTexture ( ) : void
LateUpdate ( ) : void
Start ( ) : void

Private Methods

Method Description
CreateMesh ( ) : Mesh
save3DTexture ( ) : void

Method Details

CreateCube() public method

public CreateCube ( Mesh m ) : void
m Mesh
return void

Generate2DTexture() public method

public Generate2DTexture ( ) : void
return void

Generate3DTexture() public method

public Generate3DTexture ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

_light public property

public Light _light
return Light

absorption public property

public float absorption
return float

lightIntensityScale public property

public float lightIntensityScale
return float

n public property

public int n
return int

texture2D public property

public Texture2D,UnityEngine texture2D
return UnityEngine.Texture2D

texture3D public property

public Texture3D,UnityEngine texture3D
return UnityEngine.Texture3D

texture3DName public property

public string texture3DName
return string