Class GeometryCacheComponent
GeometryCacheComponent, encapsulates a GeometryCache asset instance and implements functionality for rendering/and playback of GeometryCaches
Inheritance
Inherited Members
Namespace: UE4.GeometryCache
Assembly: UE4DotNet.dll
Syntax
public class GeometryCacheComponent : MeshComponent
Properties
| Improve this Doc View SourcebLooping
Declaration
public bool bLooping { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
bManualTick
Declaration
public bool bManualTick { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
bRunning
Declaration
public bool bRunning { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static GeometryCacheComponent DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| GeometryCacheComponent |
Duration
Duration of the animation (maximum time)
Declaration
public float Duration { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
ElapsedTime
Elapsed Time
Declaration
public float ElapsedTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
GeometryCache
Geometry Cache instance referenced by the component
Declaration
public GeometryCache GeometryCache { get; }
Property Value
| Type | Description |
|---|---|
| GeometryCache |
NumTracks
Num Tracks
Declaration
public int NumTracks { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PlaybackSpeed
Playback Speed
Declaration
public float PlaybackSpeed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
StartTimeOffset
Start Time Offset
Declaration
public float StartTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
Methods
| Improve this Doc View SourceGetAnimationTime()
Set the current animation time for GeometryCache. Includes the influence of elapsed time and SetStartTimeOffset
Declaration
public float GetAnimationTime()
Returns
| Type | Description |
|---|---|
| System.Single |
GetDuration()
Get the duration of the playback
Declaration
public float GetDuration()
Returns
| Type | Description |
|---|---|
| System.Single |
GetNumberOfFrames()
Get the number of frames
Declaration
public int GetNumberOfFrames()
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetPlaybackDirection()
Set the current animation time for GeometryCache. Includes the influence of elapsed time and SetStartTimeOffset
Declaration
public float GetPlaybackDirection()
Returns
| Type | Description |
|---|---|
| System.Single |
GetPlaybackSpeed()
Get current playback speed for GeometryCache.
Declaration
public float GetPlaybackSpeed()
Returns
| Type | Description |
|---|---|
| System.Single |
GetStartTimeOffset()
Get current start time offset for GeometryCache.
Declaration
public float GetStartTimeOffset()
Returns
| Type | Description |
|---|---|
| System.Single |
IsLooping()
Get whether this GeometryCache is looping or not.
Declaration
public bool IsLooping()
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsPlaying()
Get whether this GeometryCache is playing or not.
Declaration
public bool IsPlaying()
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsPlayingReversed()
Get whether this GeometryCache is playing in reverse or not.
Declaration
public bool IsPlayingReversed()
Returns
| Type | Description |
|---|---|
| System.Boolean |
New(UObject, Name)
Spawn an object of this class
Declaration
public static GeometryCacheComponent New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| GeometryCacheComponent |
Pause()
Pause playback of GeometryCache
Declaration
public void Pause()
Play()
Start playback of GeometryCache
Declaration
public void Play()
PlayFromStart()
Start playback of GeometryCache from the start
Declaration
public void PlayFromStart()
PlayReversed()
Start playback of GeometryCache in reverse
Declaration
public void PlayReversed()
PlayReversedFromEnd()
Start playback of GeometryCache from the end and play in reverse
Declaration
public void PlayReversedFromEnd()
SetGeometryCache(GeometryCache)
Change the Geometry Cache used by this instance.
Declaration
public bool SetGeometryCache(GeometryCache NewGeomCache)
Parameters
| Type | Name | Description |
|---|---|---|
| GeometryCache | NewGeomCache |
Returns
| Type | Description |
|---|---|
| System.Boolean |
SetLooping(Boolean)
Set whether this GeometryCache is looping or not.
Declaration
public void SetLooping(bool bNewLooping)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | bNewLooping |
SetPlaybackSpeed(Single)
Set new playback speed for GeometryCache.
Declaration
public void SetPlaybackSpeed(float NewPlaybackSpeed)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | NewPlaybackSpeed |
SetStartTimeOffset(Single)
Set current start time offset for GeometryCache.
Declaration
public void SetStartTimeOffset(float NewStartTimeOffset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | NewStartTimeOffset |
Stop()
Stop playback of GeometryCache
Declaration
public void Stop()
TickAtThisTime(Single, Boolean, Boolean, Boolean)
Tick at This Time
Declaration
public void TickAtThisTime(float Time, bool bInIsRunning, bool bInBackwards, bool bInIsLooping)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | Time | |
| System.Boolean | bInIsRunning | |
| System.Boolean | bInBackwards | |
| System.Boolean | bInIsLooping |
Operators
| Improve this Doc View SourceImplicit(IntPtr to GeometryCacheComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator GeometryCacheComponent(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| GeometryCacheComponent |