Always snap to grid

UE2:Util (U2XMP)

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

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

Constants

DefaultGetFloatPrecision

Value: 3


Functions

Static native functions

EndsInDigit

native static final function bool EndsInDigit (string S)


GetFloatString

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


GetRotatorString

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


GetVectorString

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


LineBoxIntersection

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


LineConvexPolygonIntersection

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


PadString

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


ParseBool

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


ParseByte

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


ParseFloat

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


ParseInt

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


ParseName

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


ParseString

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


ParseVector

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


PointPlaneDistance

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


RSLC

native static final function bool RSLC (out Actor.CheckResult Hit, Actor Source, Object.Vector Start, optional Object.Vector TraceDirection, optional float TraceInterval, optional float TraceLimit, optional int TraceFlags, optional Object.Vector Extent)


StripSpaces

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


TraceRecursive

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

native static final function TruncateDigits (out string S)


ValidBoolString

native static final function bool ValidBoolString (string S)


ValidByteString

native static final function bool ValidByteString (string S)


ValidFloatString

native static final function bool ValidFloatString (string S)


ValidIntString

native static final function bool ValidIntString (string S)


ValidNameString

native static final function bool ValidNameString (string S)


Other static functions

See Util static functions.