The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
Difference between revisions of "UE3:SpriteComponent (UDK)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Talk) |
(Talk) |
||
Line 54: | Line 54: | ||
{{code|simulated native function '''SetSprite''' ({{cl|Texture2D}} '''NewSprite''')}} | {{code|simulated native function '''SetSprite''' ({{cl|Texture2D}} '''NewSprite''')}} | ||
− | + | Change the sprite texture used by this component | |
====SetSpriteAndUV==== | ====SetSpriteAndUV==== |
Revision as of 05:24, 17 January 2010
Object >> Component >> ActorComponent >> PrimitiveComponent >> SpriteComponent |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties
Property group 'SpriteComponent'
bIsScreenSizeScaled
Type: bool
ScreenSize
Type: float
Default value: 0.1
Sprite
Type: Texture2D
Default value: Texture2D'EditorResources.S_Actor'
U
Type: float
UL
Type: float
V
Type: float
VL
Type: float
Native functions
SetSprite
simulated native function SetSprite (Texture2D NewSprite)
Change the sprite texture used by this component
SetSpriteAndUV
simulated native function SetSpriteAndUV (Texture2D NewSprite, int NewU, int NewUL, int NewV, int NewVL)
Change the sprite texture and UVs used by this component
SetUV
Change the UVs used by this component