UE2:Actor (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
U2XMP Object >> Actor
Package: 
Engine

Actor: The base class of all actors. Actor is the base class of all gameplay objects. A large number of properties, behaviors and interfaces are implemented in Actor, including:

- Display - Animation - Physics and world interaction - Making sounds - Networking properties - Actor creation and destruction - Triggering and timers - Actor iterator functions - Message broadcasting

This is a built-in Unreal class and it shouldn't be modified.

Constants

See Actor constants.

Properties

See Actor properties.

Enums

See Actor enums.

Structs

ActorList

name ListName 
name for quick look-up of actor lists
array<ActorType> ActorTypes 
the various types of actors which should be included in the List
array<Actor> List 
the actual list of actors

ActorRenderDataPtr

int Ptr 

ActorType

Class ClassType 
the class name (not an actual class) of the actor
bool bExcludeSubclasses 
whether it should include subclasses of the ClassName as well

AnimRep

name AnimSequence 
bool bAnimLoop 
byte AnimRate 
note that with compression, max replicated animrate is 4.0
byte AnimFrame 
byte TweenRate 
note that with compression, max replicated tweentime is 4 seconds

AnimStruct

name AnimSequence 
name BoneName 
float AnimRate 
byte alpha 
byte LeadIn 
byte LeadOut 
bool bLoopAnim 

BatchReference

int BatchIndex 
int ElementIndex 

CheckResult

Object Next 
IteratorList*
Actor Actor 
Object.Vector Location 
Location of the hit in coordinate system of the returner.
Object.Vector Normal 
Normal vector in coordinate system of the returner. Zero=none.
Primitive Primitive 
Actor primitive which was hit, or NULL=none.
float Time 
Time until hit, if line check.
int Item 
Primitive data item which was hit, INDEX_NONE=none.
Material Material 
Material cached by LineCheck()

Face

array<Object.Vector> Points 

LightRenderDataPtr

int Ptr 

PointRegion

ZoneInfo Zone 
Zone.
int iLeaf 
Bsp leaf.
byte ZoneNumber 
Zone number.

ProjectorRenderInfoPtr

int Ptr 

StaticMeshProjectorRenderInfoPtr

int Ptr 

TCollision

Modifiers: native

float Height 
float Radius 

Functions

Static native functions

AddActor

native static final function AddActor (Actor A, optional Object.Color C)


AddArrow

native static final function AddArrow (Object.Vector Start, Object.Vector End, optional Object.Color C)


AddBox

native static final function AddBox (Object.Vector Location, Object.Vector Extent, optional Object.Color C)


AddCylinder

native static final function AddCylinder (Object.Vector Location, float Radius, float Height, optional Object.Color C)


AddLine

native static final function AddLine (Object.Vector Start, Object.Vector End, optional Object.Color C)


Other static functions

AddActorAt

static final function AddActorAt (Actor A, Object.Vector TargetLocation, optional Object.Color C)


ColorBlack

static final function Object.Color ColorBlack ()


ColorBlue

static final function Object.Color ColorBlue ()


ColorBrown

static final function Object.Color ColorBrown ()


ColorCyan

static final function Object.Color ColorCyan ()


ColorDkBlue

static final function Object.Color ColorDkBlue ()


ColorDkCyan

static final function Object.Color ColorDkCyan ()


ColorDkGreen

static final function Object.Color ColorDkGreen ()


ColorDkGrey

static final function Object.Color ColorDkGrey ()


ColorDkMagenta

static final function Object.Color ColorDkMagenta ()


ColorDkRed

static final function Object.Color ColorDkRed ()


ColorDkYellow

static final function Object.Color ColorDkYellow ()


ColorGreen

static final function Object.Color ColorGreen ()


ColorGrey

static final function Object.Color ColorGrey ()


ColorLtGrey

static final function Object.Color ColorLtGrey ()


ColorMagenta

static final function Object.Color ColorMagenta ()


ColorOrange

static final function Object.Color ColorOrange ()


ColorPink

static final function Object.Color ColorPink ()


ColorRed

static final function Object.Color ColorRed ()


ColorWhite

static final function Object.Color ColorWhite ()


ColorYellow

static final function Object.Color ColorYellow ()


GetItemName

static function string GetItemName (string FullName)


GetLocalString

static function string GetLocalString (optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2)


ID

static final function ID ()


MakeColor

static final function Object.Color MakeColor (byte R, byte G, byte B, optional byte A)


OD

static final function OD ()


Iterator functions

AllActors

native(304) final iterator function AllActors (class<ActorBaseClass, out Actor Actor, optional name MatchTag)


BasedActors

native(306) final iterator function BasedActors (class<ActorBaseClass, out Actor Actor)


ChildActors

native(305) final iterator function ChildActors (class<ActorBaseClass, out Actor Actor)


CollidingActors

native simulated final iterator function CollidingActors (class<ActorBaseClass, out Actor Actor, float Radius, optional Object.Vector Loc)


DynamicActors

native(313) final iterator function DynamicActors (class<ActorBaseClass, out Actor Actor, optional name MatchTag, optional float Radius, optional Object.Vector Loc)


RadiusActors

native(310) final iterator function RadiusActors (class<ActorBaseClass, out Actor Actor, float Radius, optional Object.Vector Loc)


TouchingActors

native(307) final iterator function TouchingActors (class<ActorBaseClass, out Actor Actor)


TraceActors

native(309) final iterator function TraceActors (class<ActorBaseClass, out Actor Actor, out Object.Vector HitLoc, out Object.Vector HitNorm, Object.Vector End, optional Object.Vector Start, optional Object.Vector Extent)


VisibleActors

native(311) final iterator function VisibleActors (class<ActorBaseClass, out Actor Actor, optional float Radius, optional Object.Vector Loc)


VisibleCollidingActors

native(312) final iterator function VisibleCollidingActors (class<ActorBaseClass, out Actor Actor, float Radius, optional Object.Vector Loc, optional bool bIgnoreHidden)


Latent functions

FinishAnim

native(261) final latent function FinishAnim (optional int Channel, optional bool bKillLoop)


FinishInterpolation

native(301) final latent function FinishInterpolation ()


Sleep

native(256) final latent function Sleep (float Seconds)


Native functions

See Actor native functions.

Events

See Actor events.

Other instance functions

See Actor instance functions.

Operators

color * float

native(552) static final operator(16) Object.Color * (Object.Color A, float B)


float * color

native(550) static final operator(16) Object.Color * (float A, Object.Color B)


color + color

native(551) static final operator(20) Object.Color + (Object.Color A, Object.Color B)


color - color

native(549) static final operator(20) Object.Color - (Object.Color A, Object.Color B)