Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BBGamelib
ccUtils
PixelsToUnits
BBGamelib.ccUtils.PixelsToUnits C# (CSharp) Method
ccUtils Class Documentation
Show file
Open project: BigWoodGames/cocos2d-unity
PixelsToUnits()
public
static
method
public
static
PixelsToUnits
(
Vector3
pixels
) :
Vector3
pixels
Vector3
return
Vector3
public static Vector3 PixelsToUnits(Vector3 pixels){ return pixels / UIWindow.PIXEL_PER_UNIT; }
Same methods
ccUtils::
PixelsToUnits
(
Vector2
pixels
) :
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