示例#1
0
 private void Setup()
 {
     _IsReady = _Width > 0 && _Height > 0 && _Depth > 0;
     _Seed    = new System.Random();
     _VolView = new VolViewCosmos(_Width, _Height, _Depth, _Material);
     Setup3DSpace();
     SetupShader();
 }
示例#2
0
 private void Setup()
 {
     _Seed    = new System.Random();
     _VolView = new VolViewCosmos(_Width, _Height, _Depth, _Material);
     SetupShaderAndKernel();
     SetupSize();
     Setup3DSpace();
 }