GeometryBuildCylinderPlanes Method |
Returns an array of Planes closely bounding a faceted cylinder centered at the origin with radius radius and height height. The parameter sides defines how many planes will be generated for the round part of the cylinder. The parameter axis describes the axis along which the cylinder is oriented (0 for X, 1 for Y, 2 for Z).
Namespace: Godot
public static Array BuildCylinderPlanes( float radius, float height, int sides, Vector3Axis axis = Vector3Axis.Z )
[Missing <param name="radius"/> documentation for "M:Godot.Geometry.BuildCylinderPlanes(System.Single,System.Single,System.Int32,Godot.Vector3.Axis)"]
[Missing <param name="height"/> documentation for "M:Godot.Geometry.BuildCylinderPlanes(System.Single,System.Single,System.Int32,Godot.Vector3.Axis)"]
[Missing <param name="sides"/> documentation for "M:Godot.Geometry.BuildCylinderPlanes(System.Single,System.Single,System.Int32,Godot.Vector3.Axis)"]
[Missing <param name="axis"/> documentation for "M:Godot.Geometry.BuildCylinderPlanes(System.Single,System.Single,System.Int32,Godot.Vector3.Axis)"]
[Missing <returns> documentation for "M:Godot.Geometry.BuildCylinderPlanes(System.Single,System.Single,System.Int32,Godot.Vector3.Axis)"]