Axiom.Samples.VolumeTexture.VolumeRendable.VolumeRendable C# (CSharp) Метод

VolumeRendable() публичный Метод

public VolumeRendable ( int slices, int size, string texture ) : System.Collections.Generic
slices int
size int
texture string
Результат System.Collections.Generic
		public VolumeRendable( int slices, int size, string texture )
		{
			this.slices = slices;
			this.size = size;
			this.texture = texture;

			radius = Utility.Sqrt( size * size + size * size + size * size ) / 2.0f;
			box = new AxisAlignedBox( new Vector3( -size, -size, -size ), new Vector3( size, size, size ) );

			CastShadows = false;

			Initialize();
		}