I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:Object static native functions (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object (static native functions) |
- Object static native functions in other games:
- RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004
- Other member categories for this class:
- operators, structs
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
[edit] Static native functions
[edit] Abs
[edit] Acos
[edit] Asc
[edit] Asin
[edit] Atan
[edit] Caps
[edit] Chr
[edit] Clamp
[edit] ClampLength
Clamps a vector to not be longer than MaxLength.
[edit] ClassIsChildOf
Determine if a class is a child of another class.
Returns:
- TRUE if TestClass == ParentClass, or if TestClass is a child of ParentClass; FALSE otherwise, or if either the value for either parameter is 'None'.
[edit] Cos
[edit] DynamicLoadObject
[edit] Exp
[edit] FClamp
[edit] FCubicInterp
Cubic Spline interpolation.
Parameters:
- P - end points
- T - tangent directions at end points
- Alpha - distance along spline
Returns:
- evaluated value.
[edit] FindObject
[edit] FInterpEaseInOut
Interpolates with both ease-in and ease-out (smoothly departs A, smoothly approaches B).
Parameters:
- A - Value to interpolate from.
- B - Value to interpolate to.
- Alpha - Interpolant.
- Exp - Exponent. Higher values result in more rapid acceleration adn deceleration.
Returns:
- Interpolated value.
[edit] FInterpTo
Tries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a position. (Doesn't work well when target teleports)
Parameters:
- Current - Actual position
- Target - Target position
- DeltaTime - time since last tick
- InterpSpeed - Interpolation speed
Returns:
- new interpolated position
[edit] FMax
[edit] FMin
[edit] FRand
[edit] GetAngularDistance
Calculates the angular distance of vector 'Direction' to coordinate system O(AxisX,AxisY,AxisZ).
Orientation: (consider 'O' the first person view of the player, and 'Direction' a vector pointing to an enemy) - positive azimuth means enemy is on the right of crosshair. (negative means left). - positive elevation means enemy is on top of crosshair, negative means below.
Parameters:
- out_AngularDist - X = Azimuth angle (in radians) of 'Direction' vector compared to plane (AxisX,AxisZ). .Y = Elevation angle (in radians) of 'Direction' vector compared to plane (AxisX,AxisY).
- Direction - Direction of target.
- AxisX - X component of reference system.
- AxisY - Y component of reference system.
- AxisZ - Z component of reference system.
Output: true if 'Direction' is facing AxisX (Direction dot AxisX >= 0.f)
[edit] GetAngularFromDotDist
Converts Dot distance to angular distance.
Parameters:
- OutAngDist - Angular distance in radians.
- DotDist - Dot distance.
See: GetAngularDistance() and GetDotDistance().
[edit] GetAxes
[edit] GetDotDistance
Calculates the dotted distance of vector 'Direction' to coordinate system O(AxisX,AxisY,AxisZ).
Orientation: (consider 'O' the first person view of the player, and 'Direction' a vector pointing to an enemy) - positive azimuth means enemy is on the right of crosshair. (negative means left). - positive elevation means enemy is on top of crosshair, negative means below.
Parameters:
- OutDotDist - X = 'Direction' dot AxisX relative to plane (AxisX,AxisZ). (== Cos(Azimuth)) .Y = 'Direction' dot AxisX relative to plane (AxisX,AxisY). (== Sin(Elevation))
- Direction - direction of target.
- AxisX - X component of reference system.
- AxisY - Y component of reference system.
- AxisZ - Z component of reference system.
Returns:
- true if 'Direction' is facing AxisX (Direction dot AxisX >= 0.f)
Note: Azimuth' (.X) sign is changed to represent left/right and not front/behind. front/behind is the funtion's return value.
[edit] GetEnum
[edit] GetFuncName
Returns the current calling function's name, useful for debugging.
[edit] GetNetFuncName
Returns the name of the replicated function where script execution began, if the current script was remotely executed
[edit] GetPerObjectConfigSections
Retrieve the names of sections which contain data for the specified PerObjectConfig class.
Parameters:
- SearchClass - the PerObjectConfig class to retrieve sections for.
- out_SectionNames - will receive the list of section names that correspond to PerObjectConfig sections of the specified class
- ObjectOuter - the Outer to use for determining which file to look in. Specify the same object that is used when creating the PerObjectConfig objects that sections are being retrieved for. (PerObjectConfig data is generally stored in a file named after the Outer used when creating those objects, unless the PerObjectConfig class specifies a config file in its class declaration); specify None to use the transient package as the Outer.
- MaxResults - the maximum number of section names to retrieve
Returns:
- TRUE if the file specified was found and it contained at least 1 section for the specified class
[edit] GetUnAxes
[edit] InStr
[edit] IsNetScript
Returns whether the current script was remotely executed (i.e. through a replicated function) NOTE: Mainly for debugging, not for general usage
[edit] IsUTracing
Returns whether script function call trace logging is currently enabled.
[edit] IsZero
[edit] Left
[edit] Len
[edit] Lerp
[edit] Localize
[edit] Locs
[edit] Loge
[edit] LogInternal
Writes a message to the log. This function should never be called directly - use the `log macro instead, which has the following signature:
log( coerce string Msg, optional bool bCondition=true, optional name LogTag='ScriptLog' );
Parameters:
- Msg - the string to print to the log
- bCondition - if specified, the message is only printed to the log if this condition is satisfied.
- LogTag - if specified, the message will be prepended with this tag in the log file
[edit] Max
[edit] Mid
[edit] Min
[edit] MirrorVectorByNormal
[edit] Normal
[edit] Normalize
[edit] NormalizeRotAxis
Returns a Rotator axis within the [-32768,+32767] range in float
Parameters:
- RotAxis - axis of the rotator
Returns:
- Normalized axis value, within the [-32768,+32767] range.
[edit] OrthoRotation
[edit] ParseStringIntoArray
Breaks up a delimited string into elements of a string array.
Parameters:
- BaseString - The string to break up
- Pieces - The array to fill with the string pieces
- Delim - The string to delimit on
- bCullEmpty - If true, empty strings are not added to the array
[edit] PathName
Returns the full path name of the specified object (including package and groups), ie CheckObject::GetPathName().
[edit] ProjectOnTo
[edit] QuatDot
[edit] QuatFindBetween
[edit] QuatFromAxisAndAngle
[edit] QuatFromRotator
[edit] QuatInvert
[edit] QuatProduct
[edit] QuatRotateVector
[edit] QuatSlerp
[edit] QuatToRotator
[edit] Rand
Rand will give you a value between 0 and Max -1 *
[edit] RDiff
Gives the rotation difference between two Rotators, taking the shortest route between them (in degrees).
[edit] Repl
[edit] Right
[edit] RInterpTo
Tries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a position. (Doesn't work well when target teleports)
Parameters:
- Current - Actual position
- Target - Target position
- DeltaTime - time since last tick
- InterpSpeed - Interpolation speed
Returns:
- new interpolated position
[edit] RLerp
[edit] RotRand
[edit] Round
[edit] RSmerp
[edit] ScriptTrace
Dumps the current script function stack to the log file, useful for debugging.
[edit] SetUTracing
Enables/disables script function call trace logging.
[edit] Sin
[edit] Sqrt
[edit] Square
[edit] StaticClearConfig
Removes the values for all configurable properties in this object's class from the .ini file.
Parameters:
- PropertyName - if specified, only this property's value will be removed.
[edit] StaticSaveConfig
[edit] Tan
[edit] TimeStamp
Returns a string containing a system timestamp
[edit] ToHex
[edit] VInterpTo
Tries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a location. (Doesn't work well when target teleports)
Parameters:
- Current - Actual location
- Target - Target location
- DeltaTime - time since last tick
- InterpSpeed - Interpolation speed
Returns:
- new interpolated position
[edit] VLerp
[edit] VRand
[edit] VSize
[edit] VSize2D
[edit] VSizeSq
[edit] VSizeSq2D
[edit] VSmerp
[edit] WarnInternal
Same as calling LogInternal(SomeMsg, 'Warning'); This function should never be called directly - use the `warn macro instead, which has the following signature:
warn( coerce string Msg, optional bool bCondition=true );
