﻿ Torus : GeometryClass 亚游ag骗局|官网,ag游戏庄闲|开户,ag赌神赛规则|官网

# Torus : GeometryClass

Torus - superclass: GeometryClass; super-superclass:node - classID: #(32, 0)

Constructor

torus ..

Properties

.segs Integer default: 24 -- animatable, alias: segments

The number of radial divisions around the torus. By reducing this number, you can create polygonal rings instead of circular ones.

The distance from the center of the torus to the center of the cross-sectional circle. This is the radius of the torus ring.

The radius of the cross-sectional circle.

.tubeRotation Float default: 0.0 -- animatable, angle

The degree of rotation. Vertices are uniformly rotated about the circle running through the center of the torus ring. Positive and negative values for this setting "roll" the vertices in either direction over the surface of the torus.

.tubeTwist Float default: 0.0 -- animatable, angle, alias: Twist

The degree of twist. Cross sections are progressively rotated about the circle running through the center of the torus. Beginning with twist, each successive cross section is rotated until the last one has the number of degrees specified.

.sides Integer default: 12 -- animatable

The number of sides on the cross-sectional circle of the torus. By reducing this number, you can create prism-like cross sections instead of circular ones.

.smooth Integer default: 0 -- animatable

Select the level of smoothing:

0- None (Turns off smoothing entirely, producing prism-like facets on the torus.)

1- Sides (Smoothes the edges between adjacent segments, producing smooth bands running around the torus.)

2- All (Produces complete smoothing on all surfaces of the torus.)

3- Segments (Smoothes each segment individually, producing ring-like segments along the torus.)

.slice Boolean default: false—animatable

When on, creates a portion of a sliced torus rather than the entire 360 degrees.

.sliceFrom Float default: 0.0 -- animatable, angle, alias: Slice_From

The angle where the torus slice begins.

.sliceTo Float default: 0.0 -- animatable, angle, alias: Slice_To

The angle where the torus slice ends.

.mapCoords Boolean default: false

When on, sets up required coordinates for applying mapped materials to the torus.

Interfaces:

Interface: realWorldMapSizeInterface

Properties: