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:
2019-11-28
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)