Merge pull request #49 from kyzentun/sprite_custom_pos_coords
Added SetCustomPosCoords to Sprite.
This commit is contained in:
@@ -1517,6 +1517,8 @@
|
||||
<Function name='LoadFromSongBanner'/>
|
||||
<Function name='SetAllStateDelays'/>
|
||||
<Function name='SetCustomImageRect'/>
|
||||
<Function name='SetCustomPosCoords'/>
|
||||
<Function name='StopUsingCustomPosCoords'/>
|
||||
<Function name='SetEffectMode'/>
|
||||
<Function name='SetSecondsIntoAnimation'/>
|
||||
<Function name='SetTexture'/>
|
||||
|
||||
@@ -4301,6 +4301,13 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='SetCustomImageRect' return='void' arguments='float fLeft, float fTop, float fRight, float fBottom'>
|
||||
Sets the custom image rectangle. (Works in image pixel space.)
|
||||
</Function>
|
||||
<Function name='SetCustomPosCoords' return='void' arguments='float ulx, float uly, float llx, float lly, float lrx, float lry, float urx, float ury'>
|
||||
Sets custom offsets for the corners of the Sprite. Coordinates are paired,
|
||||
corner order is upper left, lower left, lower right, upper right.
|
||||
</Function>
|
||||
<Function name='StopUsingCustomPosCoords' return='void' arguments=''>
|
||||
Turns off the custom pos coords for the sprite.
|
||||
</Function>
|
||||
<Function name='SetEffectMode' return='void' arguments='EffectMode mode'>
|
||||
Set the <Link class='ENUM' function='EffectMode' /> to <code>mode</code>.
|
||||
</Function>
|
||||
|
||||
Reference in New Issue
Block a user