Свойство | Тип | Описание | |
---|---|---|---|
AddChar | void | ||
ResetString | void | ||
Throw | void | ||
TokensFromString | List |
Метод | Описание | |
---|---|---|
NextFloat ( ) : float |
Parses a float from a .X file
|
|
NextInt ( ) : int |
Parses an integer from a .X file
|
|
NextMatrix ( ) : Matrix |
Reads the next Matrix in the stream.
|
|
NextString ( ) : string |
Parses a string from a .X file
|
|
NextToken ( ) : string |
Reads a generic token from a .X file
|
|
NextVector2 ( ) : Vector2 |
Reads the next Vector2 in the stream.
|
|
NextVector3 ( ) : Vector3 |
Reads the next Vector3 in the stream.
|
|
NextVector4 ( ) : Vector4 |
Reads the next Vector4 in the stream.
|
|
ReadName ( ) : string |
Reads a nodes name and its opening curly bracket.
|
|
Reset ( ) : void |
Resets the tokenizer to the beginning of the stream.
|
|
SkipName ( ) : |
Skips a nodes name and its opening curly bracket.
|
|
SkipNode ( ) : void |
Skips a node in a .X file and all child nodes; should be called after the opening brace, "{", has been read.
|
|
SkipToken ( ) : |
Skips a token in the stream.
|
|
SkipTokens ( int numToSkip ) : void |
Skips tokens in the stream.
|
|
XFileTokenizer ( string fileName ) : System |
Creates a new instance of XFileTokenizer.
|
Метод | Описание | |
---|---|---|
AddChar ( int c ) : void | ||
ResetString ( ) : void | ||
Throw ( |
||
TokensFromString ( string ms ) : List |
public SkipTokens ( int numToSkip ) : void | ||
numToSkip | int | |
Результат | void |
public XFileTokenizer ( string fileName ) : System | ||
fileName | string | The .X file to tokenize. |
Результат | System |