Cafu Engine
cf::MapFilePlaneT Struct Reference

This struct describes a plane (and thus one side) of a map brush. More...

#include "MapFile.hpp"

Public Attributes

Plane3dT Plane
 
MaterialTMaterial
 The planes material. More...
 
Vector3dT U
 The first span vector of the texture projection plane. More...
 
Vector3dT V
 The second span vector of the texture projection plane. More...
 
double ShiftU
 Texture "scroll offset" in direction of U. More...
 
double ShiftV
 Texture "scroll offset" in direction of V. More...
 

Detailed Description

This struct describes a plane (and thus one side) of a map brush.

The members U, V, ShiftU and ShiftV together define the planar projection for computing the (u, v) texture coordinates at the vertices of the brush.

Member Data Documentation

MaterialT* cf::MapFilePlaneT::Material

The planes material.

double cf::MapFilePlaneT::ShiftU

Texture "scroll offset" in direction of U.

double cf::MapFilePlaneT::ShiftV

Texture "scroll offset" in direction of V.

Vector3dT cf::MapFilePlaneT::U

The first span vector of the texture projection plane.

Vector3dT cf::MapFilePlaneT::V

The second span vector of the texture projection plane.


The documentation for this struct was generated from the following file: