UE2:Object structs (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 08:52, 28 July 2009 by imported>Wormbo (added missing descriptions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
UT2004 Object (structs)

Structs

BoundingVolume

Extends: Box

A combination of an axis-aligned bounding box and a bounding sphere.

Plane Sphere 
The bounding sphere.

Box

An axis-aligned bounding box.

Vector Min 
Vector Max 
byte IsValid 
Whether this bounding box is valid (1) or not (0).

Color

Main article: Color

An RGB color with alpha (opacity) value.

byte
Blue color component.
byte
Green color component.
byte
Red color component.
byte
Alpha value.

CompressedPosition

A combined player movement state with special handling during replication.

Vector Location 
Player location.
Rotator Rotation 
Player rotation, Roll component is not replicated.
Vector Velocity 
Player velocity.

Coords

A coordinate system. Usually the X, Y and Z axes are perpendicular to each other so that in the coordinate system X faces forward, Y faces right and Z faces up.

Vector Origin 
The origin of this coordinate system in global coordinates.
Vector XAxis 
The coordinate system's X axis.
Vector YAxis 
The coordinate system's Y axis.
Vector ZAxis 
The coordinate system's Z axis.

FloatBox

float X1 
float Y1 
float X2 
float Y2 

Guid

int
int
int
int

IntBox

int X1 
int Y1 
int X2 
int Y2 

InterpCurve

array<InterpCurvePoint> Points 

InterpCurvePoint

float InVal 
float OutVal 

Matrix

A 4x4 matrix.

Plane XPlane 
Plane YPlane 
Plane ZPlane 
Plane WPlane 

Plane

Extends: Vector

Describes a plane using X/Y/Z as normal vector and W as distance from origin or a sphere using X/Y/Z as center location and W as radius. Note that components are rounded for replication, so Plane values actually describing a plane may need their X/Y/Z values multiplied by a larger value prior to replication, similar to vectors.

float

Quat

Main article: Quaternion

A quaternion.

float
The i component of the quaternion.
float
The j component of the quaternion.
float
The k component of the quaternion.
float
The real component of the quaternion.

Range

A range of float values.

float Min 
Lower bound of the range.
float Max 
Upper bound of the range.

RangeVector

A 3D vector of ranges.

Range
Range of X values.
Range
Range of Y values.
Range
Range of Z values.

Rotator

Main article: Rotator

A 3D rotation value. Components are applied in the order Yaw, Pitch, Roll.

int Pitch 
The pitch component. (think nodding for "yes")
int Yaw 
The yaw component. (think shaking the head for "no")
int Roll 
The roll component. (think tilting your head left and right for "not sure")

Scale

Vector Scale 
float SheerRate 
ESheerAxis SheerAxis 

TMultiMap

A "mirror struct" for native multi-map properties. Maps are not available in UnrealScript.

pointer FArray_Data 
int FArray_ArrayNum 
int FArray_ArrayMax 
pointer TMapBase_Hash 
int TMapBase_HashCount 

Vector

Main article: Vector

A 3D vector value.

float
The vector's X component.
float
The vector's Y component.
float
The vector's Z component.