C# 클래스 AcTools.Render.Base.Utils.GeometryGenerator

파일 보기 프로젝트 열기: gro-ove/actools

공개 메소드들

메소드 설명
CreateBox ( float width, float height, float depth ) : MeshData
CreateCylinder ( float bottomRadius, float topRadius, float height, int sliceCount, int stackCount ) : MeshData
CreateFullScreenQuad ( ) : MeshData
CreateGeosphere ( float radius, SubdivisionCount numSubdivisions ) : MeshData
CreateGrid ( float width, float depth, int m, int n ) : MeshData
CreateSphere ( float radius, int sliceCount, int stackCount ) : MeshData

비공개 메소드들

메소드 설명
BuildCylinderBottomCap ( float bottomRadius, float height, int sliceCount, MeshData &ret ) : void
BuildCylinderTopCap ( float topRadius, float height, int sliceCount, MeshData &ret ) : void

메소드 상세

CreateBox() 공개 정적인 메소드

public static CreateBox ( float width, float height, float depth ) : MeshData
width float
height float
depth float
리턴 MeshData

CreateCylinder() 공개 정적인 메소드

public static CreateCylinder ( float bottomRadius, float topRadius, float height, int sliceCount, int stackCount ) : MeshData
bottomRadius float
topRadius float
height float
sliceCount int
stackCount int
리턴 MeshData

CreateFullScreenQuad() 공개 정적인 메소드

public static CreateFullScreenQuad ( ) : MeshData
리턴 MeshData

CreateGeosphere() 공개 정적인 메소드

public static CreateGeosphere ( float radius, SubdivisionCount numSubdivisions ) : MeshData
radius float
numSubdivisions SubdivisionCount
리턴 MeshData

CreateGrid() 공개 정적인 메소드

public static CreateGrid ( float width, float depth, int m, int n ) : MeshData
width float
depth float
m int
n int
리턴 MeshData

CreateSphere() 공개 정적인 메소드

public static CreateSphere ( float radius, int sliceCount, int stackCount ) : MeshData
radius float
sliceCount int
stackCount int
리턴 MeshData