Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
BBGamelib
ccUtils
PixelsToUnits
BBGamelib.ccUtils.PixelsToUnits C# (CSharp) Метод
Документация по классу ccUtils
Показать файл
Открыть проект
PixelsToUnits()
публичный
статический
Метод
public
static
PixelsToUnits
(
Vector2
pixels
) :
Vector2
pixels
Vector2
Результат
Vector2
public static Vector2 PixelsToUnits(Vector2 pixels){ return pixels / UIWindow.PIXEL_PER_UNIT; }
Same methods
ccUtils::
PixelsToUnits
(
Vector3
pixels
) :
Vector3
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