C# Класс ShowIt.AABBFaceMesh

This object represents a single wall of a Axis Aligned Bounding Box
Наследование: Mesh3D
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyTransform ( Transformation transform ) : void
CreateFace ( GraphicsInterface gi, Vector3D roomSize, AABBFace whichWall, Resolution res, GLTexture texture ) : AABBFaceMesh

Create a mesh object that represents the wall.

PositionWall ( AABBFace whichFace ) : void
Render ( GraphicsInterface GI ) : void

Приватные методы

Метод Описание
AABBFaceMesh ( GraphicsInterface gi, Vector3D boundary, AABBFace whichFace ) : System

Описание методов

ApplyTransform() публичный Метод

public ApplyTransform ( Transformation transform ) : void
transform Transformation
Результат void

CreateFace() публичный статический Метод

Create a mesh object that represents the wall.
public static CreateFace ( GraphicsInterface gi, Vector3D roomSize, AABBFace whichWall, Resolution res, GLTexture texture ) : AABBFaceMesh
gi NewTOAPIA.GL.GraphicsInterface
roomSize Vector3D The size of the room
whichWall AABBFace Which wall of the room are we creating
res Resolution The Resolution of the mesh, meaning, the number of rows and columns of quads to create.
texture NewTOAPIA.GL.GLTexture
Результат AABBFaceMesh

PositionWall() публичный Метод

public PositionWall ( AABBFace whichFace ) : void
whichFace AABBFace
Результат void

Render() публичный Метод

public Render ( GraphicsInterface GI ) : void
GI NewTOAPIA.GL.GraphicsInterface
Результат void