Class TimeManagementBlueprintLibrary
Time Management Blueprint Library
Inheritance
System.Object
TimeManagementBlueprintLibrary
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)
Assembly: UE4DotNet.dll
Syntax
public class TimeManagementBlueprintLibrary : BlueprintFunctionLibrary
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static TimeManagementBlueprintLibrary DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
Addition (FrameNumber A + FrameNumber B)
Declaration
public static FrameNumber Add_FrameNumberFrameNumber(FrameNumber A, FrameNumber B)
Parameters
Returns
|
Improve this Doc
View Source
Addition (FrameNumber A + int B)
Declaration
public static FrameNumber Add_FrameNumberInteger(FrameNumber A, int B)
Parameters
Returns
|
Improve this Doc
View Source
Converts a FrameNumber to an int32 for use in functions that take int32 frame counts for convenience.
Declaration
public static int Conv_FrameNumberToInteger(FrameNumber InFrameNumber)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Conv_FrameRateToSeconds(FrameRate)
Converts an FrameRate to a float ie: 1/30 returns 0.0333333
Declaration
public static float Conv_FrameRateToSeconds(FrameRate InFrameRate)
Parameters
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Conv_QualifiedFrameTimeToSeconds(QualifiedFrameTime)
Converts an QualifiedFrameTime to seconds.
Declaration
public static float Conv_QualifiedFrameTimeToSeconds(QualifiedFrameTime InFrameTime)
Parameters
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Conv_TimecodeToString(Timecode, Boolean)
Converts an Timecode to a string (hh:mm:ss:ff). If bForceSignDisplay then the number sign will always be prepended instead of just when expressing a negative time.
Declaration
public static string Conv_TimecodeToString(Timecode InTimecode, bool bForceSignDisplay)
Parameters
Type |
Name |
Description |
Timecode |
InTimecode |
|
System.Boolean |
bForceSignDisplay |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Divide (FrameNumber A / B)
Declaration
public static FrameNumber Divide_FrameNumberInteger(FrameNumber A, int B)
Parameters
Returns
|
Improve this Doc
View Source
GetTimecode()
Get the Timecode from the TimeManagement's TimecodeProvider.
Declaration
public static Timecode GetTimecode()
Returns
|
Improve this Doc
View Source
IsValid_Framerate(FrameRate)
Verifies that this is a valid framerate with a non-zero denominator.
Declaration
public static bool IsValid_Framerate(FrameRate InFrameRate)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValid_MultipleOf(FrameRate, FrameRate)
Checks if this framerate is an even multiple of another framerate, ie: 60 is a multiple of 30, but 59.94 is not.
Declaration
public static bool IsValid_MultipleOf(FrameRate InFrameRate, FrameRate OtherFramerate)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Multiply (FrameNumber A * B)
Declaration
public static FrameNumber Multiply_FrameNumberInteger(FrameNumber A, int B)
Parameters
Returns
|
Improve this Doc
View Source
Multiply_SecondsFrameRate(Single, FrameRate)
Multiplies a value in seconds against a FrameRate to get a new FrameTime.
Declaration
public static FrameTime Multiply_SecondsFrameRate(float TimeInSeconds, FrameRate FrameRate)
Parameters
Type |
Name |
Description |
System.Single |
TimeInSeconds |
|
FrameRate |
FrameRate |
|
Returns
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static TimeManagementBlueprintLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
SnapFrameTimeToRate(FrameTime, FrameRate, FrameRate)
Snaps the given SourceTime to the nearest frame in the specified Destination Framerate. Useful for determining the nearest frame for another resolution. Returns the frame time in the destination frame rate.
Declaration
public static FrameTime SnapFrameTimeToRate(FrameTime SourceTime, FrameRate SourceRate, FrameRate SnapToRate)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction (FrameNumber A - FrameNumber B)
Declaration
public static FrameNumber Subtract_FrameNumberFrameNumber(FrameNumber A, FrameNumber B)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction (FrameNumber A - int B)
Declaration
public static FrameNumber Subtract_FrameNumberInteger(FrameNumber A, int B)
Parameters
Returns
|
Improve this Doc
View Source
Converts the specified time from one framerate to another framerate. This is useful for converting between tick resolution and display rate.
Declaration
public static FrameTime TransformTime(FrameTime SourceTime, FrameRate SourceRate, FrameRate DestinationRate)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to TimeManagementBlueprintLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator TimeManagementBlueprintLibrary(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns