|
GetSpriteImageV | |
V = GetSpriteImageV(SpriteIndex, VertexIndex) | |
Parameters: SpriteIndex = The Sprite you wish to query VertexIndex = The Vertex your wish to query |
|
Returns: V = The V (Y coord) of this texel |
|
GetSpriteImageV returns a sprites current V coordinate of the sprites current image. FACTS: * Sprites vertex range from vertex 0 to 3 and are ordered in a clock wise fshion I.e [0]= top left, [1]= Top right, [2]=Bottom right, [3]=Bottom Left. * See SpriteImageUV Mini Tutorial: This example creates an random image then applies this image to the screen full of sprites. Each sprites has it's UV coords stepped in, so the sprites will show the various stages of zooming.
|
Related Info: | GetSpriteImageU | GetSpriteVertexX | GetSpriteVertexY | SpriteDrawMode | SpriteImage | SpriteImageIntensity | SpriteImageRGB | SpriteImageUV : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |