C# 클래스 Revise.Files.ZMO.MotionFile

Provides the ability to create, open and save ZMO files used for motion.
상속: FileLoader
파일 보기 프로젝트 열기: osROSE/UnityRose 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AddChannel() 공개 메소드

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

AddChannel() 공개 메소드

Adds the specified channel.
public AddChannel ( Revise.Files.ZMO.Channels.MotionChannel channel ) : void
channel Revise.Files.ZMO.Channels.MotionChannel The channel to add.
리턴 void

Clear() 공개 메소드

Clears all channels.
public Clear ( ) : void
리턴 void

Load() 공개 메소드

Loads the file from the specified stream.
public Load ( Stream stream ) : void
stream Stream The stream to read from.
리턴 void

MotionFile() 공개 메소드

Initializes a new instance of the MotionFile class.
public MotionFile ( ) : System
리턴 System

RemoveChannel() 공개 메소드

Removes the specified channel.
public RemoveChannel ( Revise.Files.ZMO.Channels.MotionChannel channel ) : void
channel Revise.Files.ZMO.Channels.MotionChannel The channel to remove.
리턴 void

RemoveChannel() 공개 메소드

Removes the specified channel.
public RemoveChannel ( int channel ) : void
channel int The channel to remove.
리턴 void

Reset() 공개 메소드

Resets properties to their default values.
public Reset ( ) : void
리턴 void

Save() 공개 메소드

Saves the file to the specified stream.
public Save ( Stream stream ) : void
stream Stream The stream to save to.
리턴 void

this() 공개 메소드

Gets the specified Revise.Files.ZMO.Channels.MotionChannel.
public this ( int channel ) : Revise.Files.ZMO.Channels.MotionChannel
channel int
리턴 Revise.Files.ZMO.Channels.MotionChannel