C# Class Revise.Files.ZMO.MotionFile

Provides the ability to create, open and save ZMO files used for motion.
Inheritance: FileLoader
Afficher le fichier Open project: osROSE/UnityRose Class Usage Examples

Méthodes publiques

Méthode Description
AddChannel ( ChannelType type ) : Revise.Files.ZMO.Channels.MotionChannel

Adds the specified channel type.

AddChannel ( Revise.Files.ZMO.Channels.MotionChannel channel ) : void

Adds the specified channel.

Clear ( ) : void

Clears all channels.

Load ( Stream stream ) : void

Loads the file from the specified stream.

MotionFile ( ) : System

Initializes a new instance of the MotionFile class.

RemoveChannel ( Revise.Files.ZMO.Channels.MotionChannel channel ) : void

Removes the specified channel.

RemoveChannel ( int channel ) : void

Removes the specified channel.

Reset ( ) : void

Resets properties to their default values.

Save ( Stream stream ) : void

Saves the file to the specified stream.

this ( int channel ) : Revise.Files.ZMO.Channels.MotionChannel

Gets the specified Revise.Files.ZMO.Channels.MotionChannel.

Method Details

AddChannel() public méthode

Adds the specified channel type.
public AddChannel ( ChannelType type ) : Revise.Files.ZMO.Channels.MotionChannel
type ChannelType The type of channel to add.
Résultat Revise.Files.ZMO.Channels.MotionChannel

AddChannel() public méthode

Adds the specified channel.
public AddChannel ( Revise.Files.ZMO.Channels.MotionChannel channel ) : void
channel Revise.Files.ZMO.Channels.MotionChannel The channel to add.
Résultat void

Clear() public méthode

Clears all channels.
public Clear ( ) : void
Résultat void

Load() public méthode

Loads the file from the specified stream.
public Load ( Stream stream ) : void
stream Stream The stream to read from.
Résultat void

MotionFile() public méthode

Initializes a new instance of the MotionFile class.
public MotionFile ( ) : System
Résultat System

RemoveChannel() public méthode

Removes the specified channel.
public RemoveChannel ( Revise.Files.ZMO.Channels.MotionChannel channel ) : void
channel Revise.Files.ZMO.Channels.MotionChannel The channel to remove.
Résultat void

RemoveChannel() public méthode

Removes the specified channel.
public RemoveChannel ( int channel ) : void
channel int The channel to remove.
Résultat void

Reset() public méthode

Resets properties to their default values.
public Reset ( ) : void
Résultat void

Save() public méthode

Saves the file to the specified stream.
public Save ( Stream stream ) : void
stream Stream The stream to save to.
Résultat void

this() public méthode

Gets the specified Revise.Files.ZMO.Channels.MotionChannel.
public this ( int channel ) : Revise.Files.ZMO.Channels.MotionChannel
channel int
Résultat Revise.Files.ZMO.Channels.MotionChannel