Class ChoreoActor
- Assembly
- ValveResourceFormat.dll
Represents an actor in a choreography scene.
public class ChoreoActor
Inheritance
Inherited Members
Constructors
ChoreoActor(string, ChoreoChannel[], bool)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.Choreo.ChoreoActor class.
public ChoreoActor(string name, ChoreoChannel[] channels, bool isActive)
Parameters
name
string-
The name of the actor.
channels
ChoreoChannel[]-
The channels associated with this actor.
isActive
bool-
Whether the actor is active.
Properties
Channels
Gets the channels associated with this actor.
public ChoreoChannel[] Channels { get; }
Property Value
IsActive
Gets a value indicating whether the actor is active.
public bool IsActive { get; }
Property Value
Name
Gets the name of the actor.
public string Name { get; }
Property Value
Methods
ToKeyValues()
Converts this actor to a ValveResourceFormat.Serialization.KeyValues.KVObject.
public KVObject ToKeyValues()
Returns
- KVObject
-
A ValveResourceFormat.Serialization.KeyValues.KVObject representing this actor.