C# 클래스 Primitives3D.CubePrimitive

Geometric primitive class for drawing cubes.
상속: Primitives3D.GeometricPrimitive
파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

공개 메소드들

메소드 설명
CubePrimitive ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework

Constructs a new cube primitive, using default settings.

CubePrimitive ( GraphicsDevice graphicsDevice, float size ) : Microsoft.Xna.Framework

Constructs a new cube primitive, with the specified size.

메소드 상세

CubePrimitive() 공개 메소드

Constructs a new cube primitive, using default settings.
public CubePrimitive ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
리턴 Microsoft.Xna.Framework

CubePrimitive() 공개 메소드

Constructs a new cube primitive, with the specified size.
public CubePrimitive ( GraphicsDevice graphicsDevice, float size ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
size float
리턴 Microsoft.Xna.Framework