C# Class AcTools.Render.Base.Utils.GeometryGenerator

Afficher le fichier Open project: gro-ove/actools

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
BuildCylinderBottomCap ( float bottomRadius, float height, int sliceCount, MeshData &ret ) : void
BuildCylinderTopCap ( float topRadius, float height, int sliceCount, MeshData &ret ) : void

Method Details

CreateBox() public static méthode

public static CreateBox ( float width, float height, float depth ) : MeshData
width float
height float
depth float
Résultat MeshData

CreateCylinder() public static méthode

public static CreateCylinder ( float bottomRadius, float topRadius, float height, int sliceCount, int stackCount ) : MeshData
bottomRadius float
topRadius float
height float
sliceCount int
stackCount int
Résultat MeshData

CreateFullScreenQuad() public static méthode

public static CreateFullScreenQuad ( ) : MeshData
Résultat MeshData

CreateGeosphere() public static méthode

public static CreateGeosphere ( float radius, SubdivisionCount numSubdivisions ) : MeshData
radius float
numSubdivisions SubdivisionCount
Résultat MeshData

CreateGrid() public static méthode

public static CreateGrid ( float width, float depth, int m, int n ) : MeshData
width float
depth float
m int
n int
Résultat MeshData

CreateSphere() public static méthode

public static CreateSphere ( float radius, int sliceCount, int stackCount ) : MeshData
radius float
sliceCount int
stackCount int
Résultat MeshData