Skip to content

Procedural meshes

mika edited this page Dec 22, 2017 · 1 revision

Procedural meshes

  • void CreateSphere(string newName, float radius, int segments)
  • void CreateBox(string newName, float sizeX, float sizeY, float sizeZ, int segmentsX, int segmentsY, int segmentsZ)
  • void CreateCone(string newName, float height, float lowerRadius, float upperRadius, int segments, int sectors)
  • void CreatePlane(string newName, float sizeX, float sizeZ, int segmentsX, int segmentsZ)
  • void CreateSlope(string newName, float sizeX, float sizeY, float sizeZ)
  • void CreateStairs(string newName, int stairs, float sizeX, float sizeY, float sizeZ)
  • void CreateTorus(string newName, float flipAngle, float phaseAngle, float radius, float width, int segments, int sectors)
Clone this wiki locally