Unigine.ShapeCylinder Class
Inherits: | Shape |
ShapeCylinder Class
Properties
float Height#
The current height of the cylinder.
set
Sets a height of the cylinder.
set value -
Height of the cylinder in units.
float Radius#
The current radius of the cylinder.
set
Sets a radius of the cylinder.
set value -
Radius of the cylinder in units.
Members
static ShapeCylinder ( ) #
Constructor. Creates a new cylinder with the zero radius and the zero height.static ShapeCylinder ( float radius, float height ) #
Constructor. Creates a new cylinder with given dimensions.Arguments
- float radius - Radius of the cylinder in units.
- float height - Height of the cylinder in units.
static ShapeCylinder ( Body body, float radius, float height ) #
Constructor. Creates a new cylinder with given dimensions and adds it to a given body.Arguments
- Body body - Body, to which the cylinder will belong.
- float radius - Radius of the cylinder in units.
- float height - Height of the cylinder in units.
Last update:
31.07.2020
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter