Class FunctionalTestUtilityLibrary
Used to expose C++ functions to tests that we don't want to make BP accessible in the engine itself.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.FunctionalTesting
Assembly: UE4DotNet.dll
Syntax
public class FunctionalTestUtilityLibrary : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static FunctionalTestUtilityLibrary DefaultObject { get; }
Property Value
Type | Description |
---|---|
FunctionalTestUtilityLibrary |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static FunctionalTestUtilityLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
FunctionalTestUtilityLibrary |
TraceChannelTestUtil(UObject, TraceChannelTestBatchOptions, Vector, Vector, Single, Single, Vector, Rotator, Byte, Byte, Name, Boolean, Byte, Boolean, Byte, LinearColor, LinearColor, Single)
Helper function to trace and permute many options at once
Declaration
public static TraceQueryTestResults TraceChannelTestUtil(UObject WorldContextObject, TraceChannelTestBatchOptions BatchOptions, Vector Start, Vector End, float SphereCapsuleRadius, float CapsuleHalfHeight, Vector BoxHalfSize, Rotator Orientation, byte TraceChannel, byte ObjectTypes, Name ProfileName, bool bTraceComplex, byte ActorsToIgnore, bool bIgnoreSelf, byte DrawDebugType, LinearColor TraceColor, LinearColor TraceHitColor, float DrawTime)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
TraceChannelTestBatchOptions | BatchOptions | |
Vector | Start | |
Vector | End | |
System.Single | SphereCapsuleRadius | |
System.Single | CapsuleHalfHeight | |
Vector | BoxHalfSize | |
Rotator | Orientation | |
System.Byte | TraceChannel | |
System.Byte | ObjectTypes | |
Name | ProfileName | |
System.Boolean | bTraceComplex | |
System.Byte | ActorsToIgnore | |
System.Boolean | bIgnoreSelf | |
System.Byte | DrawDebugType | |
LinearColor | TraceColor | |
LinearColor | TraceHitColor | |
System.Single | DrawTime |
Returns
Type | Description |
---|---|
TraceQueryTestResults |
Operators
| Improve this Doc View SourceImplicit(IntPtr to FunctionalTestUtilityLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator FunctionalTestUtilityLibrary(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
FunctionalTestUtilityLibrary |