コード例 #1
0
 public override void BeforeBuffer()
 {
     if (sdf == null)
     {
         sdf = GetComponent <BufferSDF>();
     }
 }
コード例 #2
0
 public override void GetBuffer()
 {
     if (buffer == null)
     {
         buffer = GetComponent <SpawnParticleBuffer>();
     }
     if (volBuffer == null)
     {
         volBuffer = GetComponent <BufferSDF>();
     }
 }
コード例 #3
0
 public override void GetBuffer()
 {
     if (sdf == null)
     {
         sdf = GetComponent <BufferSDF>();
     }
     if (verts == null)
     {
         verts = GetComponent <MarchingCubesVertBuffer>();
     }
 }
コード例 #4
0
 public override void GetBuffer()
 {
     if (buffer == null)
     {
         buffer = GetComponent <PlaneVertBuffer>();
     }
     if (volBuffer == null)
     {
         volBuffer = GetComponent <BufferSDF>();
     }
 }
コード例 #5
0
 public override void CastBuffer()
 {
     bufferSDF = (BufferSDF)buffer;
 }