cocos2d-x  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ViewTransform Class Reference

#include <CCFrustum.h>

Public Member Functions

 ViewTransform ()
 ~ViewTransform ()
void Init (const kmVec3 &pos, const kmVec3 &focus, const kmVec3 &up)
local Init ( local pos, local focus, local up)
const kmVec3 & getPosition () const
local getPosition ()
const kmVec3 & getFocus () const
local getFocus ()
const kmVec3 & getDirection () const
local getDirection ()
const kmVec3 & getRight () const
local getRight ()
const kmVec3 & getUp () const
local getUp ()

Protected Member Functions

void LazyAdjust () const

Protected Attributes

kmVec3 _position
kmVec3 _focus
kmVec3 _up
var _up
local _up
bool _dirty
kmMat4 _matrix
kmVec3 _adjustDir
var _adjustDir
local _adjustDir
kmVec3 _adjustRight
var _adjustRight
local _adjustRight
kmVec3 _adjustUp
var _adjustUp
local _adjustUp

Constructor & Destructor Documentation

var ViewTransform ( )
local ViewTransform ( )
var ~ViewTransform ( )
local ~ViewTransform ( )

Member Function Documentation

const kmVec3& getDirection ( ) const
var getDirection ( )
local getDirection ( )
const kmVec3& getFocus ( ) const
inline
var getFocus ( )
inline
local getFocus ( )
inline
const kmVec3& getPosition ( ) const
inline
var getPosition ( )
inline
local getPosition ( )
inline
const kmVec3& getRight ( ) const
var getRight ( )
local getRight ( )
const kmVec3& getUp ( ) const
var getUp ( )
local getUp ( )
void Init ( const kmVec3 &  pos,
const kmVec3 &  focus,
const kmVec3 &  up 
)
var Init ( var  pos,
var  focus,
var  up 
)
local Init ( local  pos,
local  focus,
local  up 
)
void LazyAdjust ( ) const
protected
var LazyAdjust ( )
protected
local LazyAdjust ( )
protected

Member Data Documentation

kmVec3 _adjustDir
mutableprotected
var _adjustDir
mutableprotected
local _adjustDir
mutableprotected
kmVec3 _adjustRight
mutableprotected
var _adjustRight
mutableprotected
local _adjustRight
mutableprotected
kmVec3 _adjustUp
mutableprotected
var _adjustUp
mutableprotected
local _adjustUp
mutableprotected
bool _dirty
mutableprotected
var _dirty
mutableprotected
local _dirty
mutableprotected
kmVec3 _focus
protected
var _focus
protected
local _focus
protected
kmMat4 _matrix
mutableprotected
var _matrix
mutableprotected
local _matrix
mutableprotected
kmVec3 _position
protected
var _position
protected
local _position
protected
kmVec3 _up
protected
var _up
protected
local _up
protected

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