Mostly Harmless

Legacy:Actor/Structs

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 :: Object >> Actor (Structs)

See Built-In Struct for more (and probably more useful) structs that can be used in Actor classes.

ActorRenderDataPtr[edit]

struct ActorRenderDataPtr { var pointer Ptr; };

AnimRep[edit]

Animation replication (can be used to replicate channel 0 anims for dumb proxies)

struct AnimRep
{
	var name AnimSequence; 
	var bool bAnimLoop;	
	var byte AnimRate;		// note that with compression, max replicated animrate is 4.0
	var byte AnimFrame;
	var byte TweenRate;		// note that with compression, max replicated tweentime is 4 seconds
};

BatchReference[edit]

struct BatchReference
{
	var int	BatchIndex,
			ElementIndex;
};

KBVect[edit]

Used to avoid compression.

struct KRBVec
{
	var float	X, Y, Z;
};

KRigidBodyState[edit]

struct KRigidBodyState
{
	var KRBVec	Position;
	var Quat	Quaternion;
	var KRBVec	LinVel;
	var KRBVec	AngVel;
};

LightRenderDataPtr[edit]

struct LightRenderDataPtr { var pointer Ptr; };

PointRegion[edit]

Identifies a unique convex volume in the world.

struct PointRegion
{
	var zoneinfo Zone;       // Zone.
	var int      iLeaf;      // Bsp leaf.
	var byte     ZoneNumber; // Zone number.
};

ProjectorRenderInfoPtr[edit]

struct ProjectorRenderInfoPtr { var pointer Ptr; };	// Hack to to fool C++ header generation...

StaticMeshProjectorRenderInfoPtr[edit]

struct StaticMeshProjectorRenderInfoPtr { var pointer Ptr; };