Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Legacy:TexRotator
From Unreal Wiki, The Unreal Engine Documentation Site
This modifier rotates a given source material around the specified offset coordinates. Note that non-square textures will get deformed a bit to fit into the new shape. (Hard to describe, but you'll see it when you try it.)
Contents
Properties[edit]
TexRotator Group[edit]
- ETexRotationType TexRotationType
- The type of rotation applied. (fixed, constantly rotating, oscillating)
- rotator Rotation
- The amount by which the texture is rotated. Yaw rotates as you would expect. Pitch and Roll rotate it "out of canvas plane".
- float UOffset
- float VOffset
- Texture coordinates the material is rotated around.
- rotator OscillationRate
- rotator OscillationAmplitude
- rotator OscillationPhase
UnrealScript-only[edit]
- bool ConstantRotation (deprecated)
- Use TexRotationType=TR_ConstantlyRotating instead.
Enums[edit]
ETexRotationType[edit]
- TR_FixedRotation
- Rotation specifies a fixed rotation applied to the material.
- TR_ConstantlyRotating
- Rotation specifies a rotation rate applied to the material.
- TR_OscillatingRotation
- OscillationRate, OscillationAmplitude and OscillationPhase are used to create an oscillating rotation.
Related Topics[edit]
- RotatedText – Rotating text on a HUD in UT.
Discussion[edit]
Moofed: If you want to make a rotated texture not wrap around at the edges (for example, when rotating a crosshair), set the texture's UClampMode and VClampMode properties to TC_CLAMP rather than TC_WRAP.