I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "UE3:SpriteComponent (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(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''')}}
  
<!-- enter function description -->
+
Change the sprite texture used by this component
  
 
====SetSpriteAndUV====
 
====SetSpriteAndUV====

Latest revision as of 06:48, 17 January 2010

UDK Object >> Component >> ActorComponent >> PrimitiveComponent >> SpriteComponent
Package: 
Engine
This class in other games:
UT3


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]

simulated native function SetUV (int NewU, int NewUL, int NewV, int NewVL)

Change the UVs used by this component