easyx_framework V1.0.0
基于easyx的c++游戏框架
 
载入中...
搜索中...
未找到
Transform结构体 参考

场景属性类. 更多...

#include <Struct.h>

Public 成员函数

 Transform ()
 
 Transform (const Vector2D &pos, float rot, const Vector2D &sca)
 
Transform Indentity () const
 特征
 

Public 属性

Vector2D position
 位置坐标
 
float rotation
 角度
 
Vector2D scale
 缩放尺寸
 

详细描述

场景属性类.

构造及析构函数说明

◆ Transform() [1/2]

Transform::Transform ( )
inline

◆ Transform() [2/2]

Transform::Transform ( const Vector2D & pos,
float rot,
const Vector2D & sca )
inline

成员函数说明

◆ Indentity()

Transform Transform::Indentity ( ) const
inline

特征

返回
坐标原点、角度0、原尺寸

类成员变量说明

◆ position

Vector2D Transform::position

位置坐标

◆ rotation

float Transform::rotation

角度

◆ scale

Vector2D Transform::scale

缩放尺寸