home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Engine
/
Classes
/
TexRotator.uc
< prev
next >
Wrap
Text File
|
2003-06-23
|
760b
|
42 lines
class TexRotator extends TexModifier
editinlinenew
native;
cpptext
{
// UTexModifier interface
virtual FMatrix* GetMatrix(FLOAT TimeSeconds);
void PostLoad()
{
Super::PostLoad();
//!!OLDVER
if( ConstantRotation )
{
ConstantRotation = 0;
TexRotationType = TR_ConstantlyRotating;
}
}
}
enum ETexRotationType
{
TR_FixedRotation,
TR_ConstantlyRotating,
TR_OscillatingRotation,
};
var Matrix M;
var() ETexRotationType TexRotationType;
var() rotator Rotation;
var deprecated bool ConstantRotation;
var() float UOffset;
var() float VOffset;
var() rotator OscillationRate;
var() rotator OscillationAmplitude;
var() rotator OscillationPhase;
defaultproperties
{
TexRotationType=TR_FixedRotation
}