C# Class BBGamelib.CCNode

Afficher le fichier Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Protected Properties

Свойство Type Description
_actionManager CCActionManager
_anchorPoint Vector2
_anchorPointInPixels Vector2
_children List
_contentSize Vector2
_gear CCFactoryGear
_ignoreAnchorPointForPosition bool
_isInverseDirty bool
_isReorderChildDirty bool
_isRunning bool
_isTransformDirty bool
_isUpdateTransformDirty bool
_orderOfArrival uint
_parent CCNode
_position Vector2
_rotation float
_scaleX float
_scheduler CCScheduler
_skewX float
_transform CGAffineTransform
_userObject System.Object
_userTag string
_vertexZ float
_visible bool
_zOrder int

Méthodes publiques

Méthode Description
CCNode ( ) : UnityEngine
ToString ( ) : string
addChild ( CCNode child ) : void
addChild ( CCNode child, int z ) : void
addChild ( CCNode child, int z, string tag ) : void
cleanup ( ) : void
convertMouseEventToNodeSpace ( NSEvent evt ) : Vector2
convertMouseEventToNodeSpaceAR ( NSEvent evt ) : Vector2
convertToNodeSpace ( Bounds bounds ) : Bounds
convertToNodeSpace ( Vector2 worldPoint ) : Vector2
convertToNodeSpaceAR ( Vector2 worldPoint ) : Vector2
convertToWindowSpace ( Vector2 nodePoint ) : Vector2
convertToWorldSpace ( Vector2 nodePoint ) : Vector2
convertToWorldSpaceAR ( Vector2 nodePoint ) : Vector2
convertTouchToNodeSpace ( UITouch touch ) : Vector2
convertTouchToNodeSpaceAR ( UITouch touch ) : Vector2
forceTransformDirty ( ) : void
getActionByTag ( int aTag ) : CCAction
getChildByTag ( string tag ) : CCNode
insertChild ( CCNode child, int z ) : void
nodeToParentTransform ( ) : CGAffineTransform
nodeToWorldTransform ( ) : CGAffineTransform
numberOfRuningActions ( ) : uint
onEnter ( ) : void
onEnterTransitionDidFinish ( ) : void
onExit ( ) : void
onExitTransitionDidStart ( ) : void
parentToNodeTransform ( ) : CGAffineTransform
pauseSchedulerAndActions ( ) : void
removeAllChildrenAndCleanup ( bool cleanup = true ) : void
removeChild ( CCNode child ) : void
removeChildAndCleanup ( CCNode child, bool cleanup ) : void
removeChildByTag ( string tag, bool cleanup = true ) : void
removeFromParent ( ) : void
removeFromParentAndCleanup ( bool cleanup ) : void
reorderChild ( CCNode child, int z ) : void
resumeSchedulerAndActions ( ) : void
runAction ( CCAction action ) : CCAction
schedule ( TICK_IMP selector, float interval, uint repeat = CCScheduler.kCCRepeatForever, float delay ) : void
scheduleOnce ( TICK_IMP selector, float delay ) : void
scheduleUpdateWithPriority ( int priority ) : void
stopAction ( CCAction action ) : void
stopActionByTag ( int aTag ) : void
stopAllActions ( ) : void
unschedule ( TICK_IMP selector ) : void
unscheduleAllSelectors ( ) : void
unscheduleUpdate ( ) : void
update ( float dt ) : void
updateTransform ( ) : void
visit ( ) : void
visitOnGUI ( ) : void
worldToNodeTransform ( ) : CGAffineTransform

Méthodes protégées

Méthode Description
_setZOrder ( int z ) : void
draw ( ) : void
drawOnGUI ( ) : void
init ( ) : void
initWithGear ( CCFactoryGear gear ) : void
recycleGear ( ) : void
sortAllChildren ( ) : void
transformAncestors ( ) : void

Private Methods

Méthode Description
detachChild ( CCNode child, bool cleanup ) : void

Method Details

CCNode() public méthode

public CCNode ( ) : UnityEngine
Résultat UnityEngine

ToString() public méthode

public ToString ( ) : string
Résultat string

_setZOrder() protected méthode

protected _setZOrder ( int z ) : void
z int
Résultat void

addChild() public méthode

public addChild ( CCNode child ) : void
child CCNode
Résultat void

addChild() public méthode

public addChild ( CCNode child, int z ) : void
child CCNode
z int
Résultat void

addChild() public méthode

public addChild ( CCNode child, int z, string tag ) : void
child CCNode
z int
tag string
Résultat void

cleanup() public méthode

public cleanup ( ) : void
Résultat void

convertMouseEventToNodeSpace() public méthode

public convertMouseEventToNodeSpace ( NSEvent evt ) : Vector2
evt NSEvent
Résultat Vector2

convertMouseEventToNodeSpaceAR() public méthode

public convertMouseEventToNodeSpaceAR ( NSEvent evt ) : Vector2
evt NSEvent
Résultat Vector2

convertToNodeSpace() public méthode

public convertToNodeSpace ( Bounds bounds ) : Bounds
bounds UnityEngine.Bounds
Résultat UnityEngine.Bounds

convertToNodeSpace() public méthode

public convertToNodeSpace ( Vector2 worldPoint ) : Vector2
worldPoint Vector2
Résultat Vector2

convertToNodeSpaceAR() public méthode

public convertToNodeSpaceAR ( Vector2 worldPoint ) : Vector2
worldPoint Vector2
Résultat Vector2

convertToWindowSpace() public méthode

public convertToWindowSpace ( Vector2 nodePoint ) : Vector2
nodePoint Vector2
Résultat Vector2

convertToWorldSpace() public méthode

public convertToWorldSpace ( Vector2 nodePoint ) : Vector2
nodePoint Vector2
Résultat Vector2

convertToWorldSpaceAR() public méthode

public convertToWorldSpaceAR ( Vector2 nodePoint ) : Vector2
nodePoint Vector2
Résultat Vector2

convertTouchToNodeSpace() public méthode

public convertTouchToNodeSpace ( UITouch touch ) : Vector2
touch UITouch
Résultat Vector2

convertTouchToNodeSpaceAR() public méthode

public convertTouchToNodeSpaceAR ( UITouch touch ) : Vector2
touch UITouch
Résultat Vector2

draw() protected méthode

protected draw ( ) : void
Résultat void

drawOnGUI() protected méthode

protected drawOnGUI ( ) : void
Résultat void

forceTransformDirty() public méthode

public forceTransformDirty ( ) : void
Résultat void

getActionByTag() public méthode

public getActionByTag ( int aTag ) : CCAction
aTag int
Résultat CCAction

getChildByTag() public méthode

public getChildByTag ( string tag ) : CCNode
tag string
Résultat CCNode

init() protected méthode

protected init ( ) : void
Résultat void

initWithGear() protected méthode

protected initWithGear ( CCFactoryGear gear ) : void
gear CCFactoryGear
Résultat void

insertChild() public méthode

public insertChild ( CCNode child, int z ) : void
child CCNode
z int
Résultat void

nodeToParentTransform() public méthode

public nodeToParentTransform ( ) : CGAffineTransform
Résultat CGAffineTransform

nodeToWorldTransform() public méthode

public nodeToWorldTransform ( ) : CGAffineTransform
Résultat CGAffineTransform

numberOfRuningActions() public méthode

public numberOfRuningActions ( ) : uint
Résultat uint

onEnter() public méthode

public onEnter ( ) : void
Résultat void

onEnterTransitionDidFinish() public méthode

public onEnterTransitionDidFinish ( ) : void
Résultat void

onExit() public méthode

public onExit ( ) : void
Résultat void

onExitTransitionDidStart() public méthode

public onExitTransitionDidStart ( ) : void
Résultat void

parentToNodeTransform() public méthode

public parentToNodeTransform ( ) : CGAffineTransform
Résultat CGAffineTransform

pauseSchedulerAndActions() public méthode

public pauseSchedulerAndActions ( ) : void
Résultat void

recycleGear() protected méthode

protected recycleGear ( ) : void
Résultat void

removeAllChildrenAndCleanup() public méthode

public removeAllChildrenAndCleanup ( bool cleanup = true ) : void
cleanup bool
Résultat void

removeChild() public méthode

public removeChild ( CCNode child ) : void
child CCNode
Résultat void

removeChildAndCleanup() public méthode

public removeChildAndCleanup ( CCNode child, bool cleanup ) : void
child CCNode
cleanup bool
Résultat void

removeChildByTag() public méthode

public removeChildByTag ( string tag, bool cleanup = true ) : void
tag string
cleanup bool
Résultat void

removeFromParent() public méthode

public removeFromParent ( ) : void
Résultat void

removeFromParentAndCleanup() public méthode

public removeFromParentAndCleanup ( bool cleanup ) : void
cleanup bool
Résultat void

reorderChild() public méthode

public reorderChild ( CCNode child, int z ) : void
child CCNode
z int
Résultat void

resumeSchedulerAndActions() public méthode

public resumeSchedulerAndActions ( ) : void
Résultat void

runAction() public méthode

public runAction ( CCAction action ) : CCAction
action CCAction
Résultat CCAction

schedule() public méthode

public schedule ( TICK_IMP selector, float interval, uint repeat = CCScheduler.kCCRepeatForever, float delay ) : void
selector TICK_IMP
interval float
repeat uint
delay float
Résultat void

scheduleOnce() public méthode

public scheduleOnce ( TICK_IMP selector, float delay ) : void
selector TICK_IMP
delay float
Résultat void

scheduleUpdateWithPriority() public méthode

public scheduleUpdateWithPriority ( int priority ) : void
priority int
Résultat void

sortAllChildren() protected méthode

protected sortAllChildren ( ) : void
Résultat void

stopAction() public méthode

public stopAction ( CCAction action ) : void
action CCAction
Résultat void

stopActionByTag() public méthode

public stopActionByTag ( int aTag ) : void
aTag int
Résultat void

stopAllActions() public méthode

public stopAllActions ( ) : void
Résultat void

transformAncestors() protected méthode

protected transformAncestors ( ) : void
Résultat void

unschedule() public méthode

public unschedule ( TICK_IMP selector ) : void
selector TICK_IMP
Résultat void

unscheduleAllSelectors() public méthode

public unscheduleAllSelectors ( ) : void
Résultat void

unscheduleUpdate() public méthode

public unscheduleUpdate ( ) : void
Résultat void

update() public méthode

public update ( float dt ) : void
dt float
Résultat void

updateTransform() public méthode

public updateTransform ( ) : void
Résultat void

visit() public méthode

public visit ( ) : void
Résultat void

visitOnGUI() public méthode

public visitOnGUI ( ) : void
Résultat void

worldToNodeTransform() public méthode

public worldToNodeTransform ( ) : CGAffineTransform
Résultat CGAffineTransform

Property Details

_actionManager protected_oe property

protected CCActionManager,BBGamelib _actionManager
Résultat CCActionManager

_anchorPoint protected_oe property

protected Vector2 _anchorPoint
Résultat Vector2

_anchorPointInPixels protected_oe property

protected Vector2 _anchorPointInPixels
Résultat Vector2

_children protected_oe property

protected List _children
Résultat List

_contentSize protected_oe property

protected Vector2 _contentSize
Résultat Vector2

_gear protected_oe property

protected CCFactoryGear _gear
Résultat CCFactoryGear

_ignoreAnchorPointForPosition protected_oe property

protected bool _ignoreAnchorPointForPosition
Résultat bool

_isInverseDirty protected_oe property

protected bool _isInverseDirty
Résultat bool

_isReorderChildDirty protected_oe property

protected bool _isReorderChildDirty
Résultat bool

_isRunning protected_oe property

protected bool _isRunning
Résultat bool

_isTransformDirty protected_oe property

protected bool _isTransformDirty
Résultat bool

_isUpdateTransformDirty protected_oe property

protected bool _isUpdateTransformDirty
Résultat bool

_orderOfArrival protected_oe property

protected uint _orderOfArrival
Résultat uint

_parent protected_oe property

protected CCNode,BBGamelib _parent
Résultat CCNode

_position protected_oe property

protected Vector2 _position
Résultat Vector2

_rotation protected_oe property

protected float _rotation
Résultat float

_scaleX protected_oe property

protected float _scaleX
Résultat float

_scheduler protected_oe property

protected CCScheduler,BBGamelib _scheduler
Résultat CCScheduler

_skewX protected_oe property

protected float _skewX
Résultat float

_transform protected_oe property

protected CGAffineTransform,BBGamelib _transform
Résultat CGAffineTransform

_userObject protected_oe property

protected Object,System _userObject
Résultat System.Object

_userTag protected_oe property

protected string _userTag
Résultat string

_vertexZ protected_oe property

protected float _vertexZ
Résultat float

_visible protected_oe property

protected bool _visible
Résultat bool

_zOrder protected_oe property

protected int _zOrder
Résultat int