Difference between revisions of "CSprite"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 28: | Line 28: | ||
| [[CSprite::ForceUpdate|ForceUpdate]] | | [[CSprite::ForceUpdate|ForceUpdate]] | ||
| {{:CSprite::ForceUpdate|ForceUpdate}} | | {{:CSprite::ForceUpdate|ForceUpdate}} | ||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| [[CSprite::getAnimation|getAnimation]] | | [[CSprite::getAnimation|getAnimation]] | ||
| Line 139: | Line 136: | ||
| [[CSprite::Gib|Gib]] | | [[CSprite::Gib|Gib]] | ||
| {{:CSprite::Gib|Gib}} | | {{:CSprite::Gib|Gib}} | ||
| + | |- | ||
| + | | [[CSprite::TranslateBy|TranslateBy]] | ||
| + | | {{:CSprite::TranslateBy|TranslateBy}} | ||
| + | |- | ||
| + | | [[CSprite::ScaleBy|ScaleBy]] | ||
| + | | {{:CSprite::ScaleBy|ScaleBy}} | ||
| + | |- | ||
| + | | [[CSprite::ResetTransform|ResetTransform]] | ||
| + | | {{:CSprite::ResetTransform|ResetTransform}} | ||
|- | |- | ||
|} | |} | ||
Latest revision as of 11:36, 14 September 2012
Methods:
| Method | Description |
|---|---|
| getBlob |
Returns a reference to the CBlob that owns this object. It is a method common to several object types that are considered 'components'. |
| SetActive |
|
| RemoveScript |
|
| AddScript |
|
| getConsts |
|
| getVars |
|
| ForceUpdate |
|
| getAnimation |
|
| SetAnimation |
|
| addAnimation |
|
| isAnimation |
|
| isAnimationEnded |
|
| isFrame |
|
| getFrame |
|
| SetFrameIndex |
|
| isFrameIndex |
|
| getFrameIndex |
|
| ResetWorldTransform |
|
| TranslateAllBy |
|
| RotateAllBy |
|
| getWorldRotation |
|
| getWorldTranslation |
|
| RotateBy |
|
| SetOffset |
|
| SetRelativeZ |
|
| SetZ |
|
| SetFacingLeft |
|
| SetVisible |
|
| isVisible |
|
| getRotation |
|
| getRelativeZ |
|
| isFacingLeft |
|
| getOffset |
|
| LookAtPoint |
|
| getFilename |
|
| getFrameWidth |
|
| getFrameHeight |
|
| addSpriteLayer |
|
| getSpriteLayerCount |
|
| getSpriteLayer |
|
| ReloadSprite |
|
| ReloadSprites |
|
| Gib |
|
| TranslateBy |
|
| ScaleBy |
|
| ResetTransform |
|
Properties:
| Property | Type | Description |
|---|---|---|
| animation | Animation@ |