CapsuleGeometry.create constructor

CapsuleGeometry.create(
  1. List<Vector2> points, {
  2. double radius = 1,
  3. double length = 1,
  4. int capSegments = 4,
  5. int radialSegments = 8,
})

Implementation

CapsuleGeometry.create(super.points,{double radius = 1,double length = 1,int capSegments = 4,int radialSegments = 8 }):super(segments: radialSegments){
		type = 'CapsuleGeometry';

		parameters = {
			'radius': radius,
			'length': length,
			'capSegments': capSegments,
			'radialSegments': radialSegments,
		};
}