Castle Game Engine: X3DFields: Class TX3DWriter

# Class TX3DWriter
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DFields ## Declaration `type TX3DWriter = class(TObject)` ## Description Writer of VRML/X3D to stream. ## Hierarchy TObject TX3DWriter ## Overview ### Fields
| `Version: TX3DVersion;`
### Methods
| `constructor Create(AStream: TStream; const AVersion: TX3DVersion; const AEncoding: TX3DEncoding);`
| `destructor Destroy; override;`
| `procedure IncIndent;`
| `procedure DecIndent;`
| `procedure Write(const S: string);`
| `procedure Writeln(const S: string); overload;`
| `procedure Writeln; overload;`
| `procedure WriteIndent(const S: string);`
| `procedure WritelnIndent(const S: string);`
| `procedure DiscardNextIndent;`
### Properties
| `property Encoding: TX3DEncoding read FEncoding;`
## Description ### Fields
| `Version: TX3DVersion;`
Which VRML/X3D version are we writing. Read-only after creation.
### Methods
| `constructor Create(AStream: TStream; const AVersion: TX3DVersion; const AEncoding: TX3DEncoding);`
| `destructor Destroy; override;`
| `procedure IncIndent;`
| `procedure DecIndent;`
| `procedure Write(const S: string);`
Comfortable routines that simply write given string to a stream.
| `procedure Writeln(const S: string); overload;`
| `procedure Writeln; overload;`
| `procedure WriteIndent(const S: string);`
| `procedure WritelnIndent(const S: string);`
| `procedure DiscardNextIndent;`
Causes next WriteIndent or WritelnIndent too not write the Indent. Useful in some cases to improve readability of generated VRML file.
### Properties
| `property Encoding: TX3DEncoding read FEncoding;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:13