Show / Hide Table of Contents

Interface IActor

An interface representing an Unreal Engine actor.

Inherited Members
IObject.Name
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public interface IActor : IObject

Properties

View Source

Location

Gets the actor's cached location.

Declaration
Vector3? Location { get; }
Property Value
Type Description
Vector3?

A location vector.

View Source

Rotation

Gets the actor's cached rotation.

Declaration
Rotation3? Rotation { get; }
Property Value
Type Description
Rotation3?

A rotator.

Methods

View Source

GetLocation(TimeSpan, CancellationToken)

Gets the actor's location.

Declaration
Task<Vector3?> GetLocation(TimeSpan maxAge, CancellationToken token = default)
Parameters
Type Name Description
TimeSpan maxAge

The maximum age of the actor, if it exists in the cache.

CancellationToken token

The cancellation token.

Returns
Type Description
Task<Vector3?>

A location vector.

View Source

GetRotation(TimeSpan, CancellationToken)

Gets the actor's rotation.

Declaration
Task<Rotation3?> GetRotation(TimeSpan maxAge, CancellationToken token = default)
Parameters
Type Name Description
TimeSpan maxAge

The maximum age of the actor, if it exists in the cache.

CancellationToken token

The cancellation token.

Returns
Type Description
Task<Rotation3?>

A rotator.

  • View Source
In this article
Back to top Generated by DocFX