Unigine.ShapeCylinder Class
Inherits from: | Shape |
ShapeCylinder Class
Properties
float Height#
The current height of the cylinder.
float Radius#
The current radius of the cylinder.
Members
ShapeCylinder ( ) #
Constructor. Creates a new cylinder with the zero radius and the zero height.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.
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:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter