Mostly Harmless
Difference between revisions of "UE3:SpriteComponent (UDK)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Talk) |
m (1 revision: class descriptions for UDK January update (part 5)) |
||
(One intermediate revision by one other user not shown) | |||
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==== |
Latest revision as of 05:48, 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[edit]
Property group 'SpriteComponent'[edit]
bIsScreenSizeScaled[edit]
Type: bool
ScreenSize[edit]
Type: float
Default value: 0.1
Sprite[edit]
Type: Texture2D
Default value: Texture2D'EditorResources.S_Actor'
U[edit]
Type: float
UL[edit]
Type: float
V[edit]
Type: float
VL[edit]
Type: float
Native functions[edit]
SetSprite[edit]
simulated native function SetSprite (Texture2D NewSprite)
Change the sprite texture used by this component
SetSpriteAndUV[edit]
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[edit]
Change the UVs used by this component