Class reference

TorusMesh

Inherits PrimitiveMesh

Class representing a torus PrimitiveMesh.

Description

Class representing a torus PrimitiveMesh.

Properties

float inner_radius = 0.5

The inner radius of the torus.

float outer_radius = 1.0

The outer radius of the torus.

int ring_segments = 32

The number of edges each ring of the torus is constructed of.

int rings = 64

The number of slices the torus is constructed of.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.