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