Cocos2D.CCBHelper
Class CCBHelper
Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll
public static class CCBHelper
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
GetAbsolutePosition(CCPoint, CCBPositionType, CCSize, string)
public static CCPoint GetAbsolutePosition(CCPoint pt, CCBPositionType nType, CCSize containerSize, string pPropName)
Parameters
pt
CCPoint
nType
CCBPositionType
containerSize
CCSize
pPropName
string
Returns
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string
SetRelativeScale(CCNode, float, float, CCBScaleType, string)
public static void SetRelativeScale(CCNode node, float fScaleX, float fScaleY, CCBScaleType nType, string pPropName)
Parameters
node
CCNode
fScaleX
float
fScaleY
float
nType
CCBScaleType
pPropName
string