There is no spoon

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

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
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====

Revision as of 06:24, 17 January 2010

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


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

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

Change the UVs used by this component