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 |
Méthode | Description | |
---|---|---|
BuildCylinderBottomCap ( float bottomRadius, float height, int sliceCount, MeshData &ret ) : void | ||
BuildCylinderTopCap ( float topRadius, float height, int sliceCount, MeshData &ret ) : void |
public static CreateBox ( float width, float height, float depth ) : MeshData | ||
width | float | |
height | float | |
depth | float | |
Résultat | MeshData |
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 |
public static CreateFullScreenQuad ( ) : MeshData | ||
Résultat | MeshData |
public static CreateGeosphere ( float radius, SubdivisionCount numSubdivisions ) : MeshData | ||
radius | float | |
numSubdivisions | SubdivisionCount | |
Résultat | MeshData |
public static CreateGrid ( float width, float depth, int m, int n ) : MeshData | ||
width | float | |
depth | float | |
m | int | |
n | int | |
Résultat | MeshData |
public static CreateSphere ( float radius, int sliceCount, int stackCount ) : MeshData | ||
radius | float | |
sliceCount | int | |
stackCount | int | |
Résultat | MeshData |