C# Class Meshellator.MeshellatorLoader

显示文件 Open project: tgjones/meshellator

Private Properties

Property Type Description
CreateFromPrimitive Scene
MeshellatorLoader System

Public Methods

Method Description
CreateFromCube ( float size ) : Scene
CreateFromCylinder ( float radius, float height, int tessellationLevel ) : Scene
CreateFromPlane ( int width, int length ) : Scene
CreateFromSphere ( float radius, int tessellationLevel ) : Scene
CreateFromTeapot ( float size, int tessellationLevel ) : Scene
CreateFromTorus ( float radius, float thickness, int tessellationLevel ) : Scene
ImportFromFile ( string fileName ) : Scene
IsSupportedFormat ( string fileName ) : bool

Private Methods

Method Description
CreateFromPrimitive ( Meshellator.Primitives.BasicPrimitiveTessellator tessellator ) : Scene
MeshellatorLoader ( ) : System

Method Details

CreateFromCube() public static method

public static CreateFromCube ( float size ) : Scene
size float
return Scene

CreateFromCylinder() public static method

public static CreateFromCylinder ( float radius, float height, int tessellationLevel ) : Scene
radius float
height float
tessellationLevel int
return Scene

CreateFromPlane() public static method

public static CreateFromPlane ( int width, int length ) : Scene
width int
length int
return Scene

CreateFromSphere() public static method

public static CreateFromSphere ( float radius, int tessellationLevel ) : Scene
radius float
tessellationLevel int
return Scene

CreateFromTeapot() public static method

public static CreateFromTeapot ( float size, int tessellationLevel ) : Scene
size float
tessellationLevel int
return Scene

CreateFromTorus() public static method

public static CreateFromTorus ( float radius, float thickness, int tessellationLevel ) : Scene
radius float
thickness float
tessellationLevel int
return Scene

ImportFromFile() public static method

public static ImportFromFile ( string fileName ) : Scene
fileName string
return Scene

IsSupportedFormat() public static method

public static IsSupportedFormat ( string fileName ) : bool
fileName string
return bool