You.i Engine
CYISceneNode::MeasureSpec Struct Reference

Detailed Description

A container class used to hold a measure specification. Used by the layout system.

#include <scenetree/YiSceneNode.h>

Public Member Functions

 MeasureSpec ()
 
 MeasureSpec (MeasureMode mode, float size)
 

Static Public Member Functions

static MeasureSpec CreateExactlySpec (float size)
 
static MeasureSpec CreateUpToSpec (float size)
 
static const MeasureSpecGetUndefinedSpec ()
 

Public Attributes

MeasureMode mode
 
float size
 

Static Public Attributes

static const MeasureSpec defaultSpec
 

Constructor & Destructor Documentation

◆ MeasureSpec() [1/2]

CYISceneNode::MeasureSpec::MeasureSpec ( )
inline

◆ MeasureSpec() [2/2]

CYISceneNode::MeasureSpec::MeasureSpec ( MeasureMode  mode,
float  size 
)
inline

Member Function Documentation

◆ CreateExactlySpec()

static MeasureSpec CYISceneNode::MeasureSpec::CreateExactlySpec ( float  size)
static

◆ CreateUpToSpec()

static MeasureSpec CYISceneNode::MeasureSpec::CreateUpToSpec ( float  size)
static

◆ GetUndefinedSpec()

static const MeasureSpec& CYISceneNode::MeasureSpec::GetUndefinedSpec ( )
static

Member Data Documentation

◆ defaultSpec

const MeasureSpec CYISceneNode::MeasureSpec::defaultSpec
static

◆ mode

MeasureMode CYISceneNode::MeasureSpec::mode

◆ size

float CYISceneNode::MeasureSpec::size

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