You.i Engine
CYILayoutConfig::SizeConstraints Class Reference

Detailed Description

A class used to hold the size constraint for each of the 3 dimensions. A flag that indicates if the width/height aspect ratio should be maintained is also contained in this class.

See also

#include <layout/YiLayoutConfig.h>

Public Member Functions

 SizeConstraints ()

Public Attributes

SizeConstraint width
SizeConstraint height
SizeConstraint depth
bool maintainAspectRatio

Static Public Attributes

static const SizeConstraints defaultInstance

Constructor & Destructor Documentation

◆ SizeConstraints()

CYILayoutConfig::SizeConstraints::SizeConstraints ( )

Member Data Documentation

◆ defaultInstance

const SizeConstraints CYILayoutConfig::SizeConstraints::defaultInstance

◆ depth

SizeConstraint CYILayoutConfig::SizeConstraints::depth

◆ height

SizeConstraint CYILayoutConfig::SizeConstraints::height

◆ maintainAspectRatio

bool CYILayoutConfig::SizeConstraints::maintainAspectRatio

◆ width

SizeConstraint CYILayoutConfig::SizeConstraints::width

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