Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
BBGamelib
ccUtils
UnitsToPixels
BBGamelib.ccUtils.UnitsToPixels C# (CSharp) Method
ccUtils Class Documentation
显示文件
Open project: BigWoodGames/cocos2d-unity
UnitsToPixels()
public
static
method
public
static
UnitsToPixels
(
Vector3
units
) :
Vector3
units
Vector3
return
Vector3
public static Vector3 UnitsToPixels(Vector3 units){ return units * UIWindow.PIXEL_PER_UNIT; }
Same methods
ccUtils::
UnitsToPixels
(
Vector2
units
) :
Vector2
ccUtils
CC_DEGREES_TO_RADIANS
CC_INCREMENT_GL_DRAWS
CC_RADIANS_TO_DEGREE
GUIDrawRect
GetChildObject
GetChildObjectRecursively
PixelsToUnits
PointFromString
PointToString
RectFromString
RectIntersection
RectIntersectsRect
RectToString
RectUnion
UnitsToPixels
ccNumberOfDraws