You.i Engine
CYIHelper Class Reference

#include <utility/YiHelper.h>

Static Public Member Functions

static CYISceneNodeCreateSmallCrosshairSceneNode (CYISceneManager *pSceneManager, CYIString sNodeName, float fWidth, float fHeight, bool yFlip=true)
 
static CYISceneNodeCreateCrosshairSceneNode (CYISceneManager *pSceneManager, CYIString sNodeName, float fWidth, float fHeight, bool yFlip=true)
 

Member Function Documentation

static CYISceneNode* CYIHelper::CreateCrosshairSceneNode ( CYISceneManager pSceneManager,
CYIString  sNodeName,
float  fWidth,
float  fHeight,
bool  yFlip = true 
)
static

Creates a normal size crosshair scene node.

sNodeName is optional.

fWidth and fHeight must be greater than 0.

yFlip defaults to true to mimic After Effect flipped world.

static CYISceneNode* CYIHelper::CreateSmallCrosshairSceneNode ( CYISceneManager pSceneManager,
CYIString  sNodeName,
float  fWidth,
float  fHeight,
bool  yFlip = true 
)
static

Creates a small size crosshair scene node.

sNodeName is optional.

fWidth and fHeight must be greater than 0.

yFlip defaults to true to mimic After Effect flipped world.


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