C# 클래스 WaveEngine.Components.Primitives.Cylinder

A 3D cylinder.
상속: Geometric
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
Cylinder ( float height, float diameter, int tessellation ) : System

Initializes a new instance of the Cylinder class.

비공개 메소드들

메소드 설명
CreateCap ( int tessellation, float height, float radius, System.Vector3 normal ) : void

Helper method that creates a triangle fan to close the ends of the cylinder.

메소드 상세

Cylinder() 공개 메소드

Initializes a new instance of the Cylinder class.
If tessellation is less than 3.
public Cylinder ( float height, float diameter, int tessellation ) : System
height float The height.
diameter float The diameter.
tessellation int The tessellation.
리턴 System