Gah - a solution with more questions. – EntropicLqd

UE2:Util (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Util
Package: 
Engine
This class in other games:
U2XMP

Util.uc $Author: Mfox $ $Date: 12/14/02 8:26p $ $Revision: 51 $ NEW: file

Constants[edit]

DefaultGetFloatPrecision[edit]

Value: 3


Functions[edit]

Static native functions[edit]

EndsInDigit[edit]

native static final function bool EndsInDigit (string S)


GetFloatString[edit]

native static final function string GetFloatString (float F, optional byte Precision)


GetRotatorString[edit]

native static final function string GetRotatorString (Object.Rotator R, optional byte Precision)


GetVectorString[edit]

native static final function string GetVectorString (Object.Vector V, optional byte Precision)


LineBoxIntersection[edit]

static native final function bool LineBoxIntersection (Object.Vector LineStart, Object.Vector LineEnd, Object.Vector BoxMin, Object.Vector BoxMax)


LineConvexPolygonIntersection[edit]

static native final function bool LineConvexPolygonIntersection (Object.Vector LineStart, Object.Vector LineEnd, array<Object.VectorPoints, out Object.Vector IntersectionPoint)


PadString[edit]

native static final function string PadString (coerce string S, int PadLen, optional bool bRightJustify, optional string PadStr)


ParseBool[edit]

native static final function int ParseBool (out string S, out byte BOut, optional byte BDefault)


ParseByte[edit]

native static final function int ParseByte (out string S, out byte BOut, optional byte BDefault)


ParseFloat[edit]

native static final function int ParseFloat (out string S, out float FOut, optional float FDefault)


ParseInt[edit]

native static final function int ParseInt (out string S, out int IOut, optional int IDefault)


ParseName[edit]

native static final function int ParseName (out string S, out name NOut, optional bool bAdd, optional name NDefault)


ParseString[edit]

native static final function int ParseString (out string S, out string SOut, optional string SDefault)


ParseVector[edit]

native static final function int ParseVector (out string S, out Object.Vector VOut, optional Object.Vector VDefault)


PointPlaneDistance[edit]

static native final function float PointPlaneDistance (Object.Vector Point, Object.Vector PlaneBase, Object.Vector PlaneNormal)


StripSpaces[edit]

native static final function StripSpaces (out string S, bool bStripLeading, bool bStripTrailing)


TraceRecursive[edit]

native static final function Actor TraceRecursive (Actor Instance, out Object.Vector HitLocation, out Object.Vector HitNormal, Object.Vector StartLoc, optional bool bTraceActors, optional float TraceInterval, optional Object.Vector TraceDirection, optional float TraceLimit, optional Object.Vector Extent, optional int TraceFlags, optional bool bTraceVisibleNonColliding)


TruncateDigits[edit]

native static final function TruncateDigits (out string S)


ValidBoolString[edit]

native static final function bool ValidBoolString (string S)


ValidByteString[edit]

native static final function bool ValidByteString (string S)


ValidFloatString[edit]

native static final function bool ValidFloatString (string S)


ValidIntString[edit]

native static final function bool ValidIntString (string S)


ValidNameString[edit]

native static final function bool ValidNameString (string S)


Other static functions[edit]

See Util static functions.