Sets the sphere's data and calls Mesh.Reconstruct()
Declaration Syntax
C# |
public void SetData( Vector3 center, int zSamples, int radSamples, float radius, SphereTextureMode textureMode )
Parameters
- center (Vector3)
- Center of the sphere
- zSamples (Int32)
- Number of samples along the z-axis
- radSamples (Int32)
- Number of samples along the radius
- radius (Single)
- Radius of the sphere
- textureMode (SphereTextureMode)
- Texture mode to use
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)