
Public Member Functions | |
override void | Dispose () |
override bool | Empty () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Exchange.ExportGLTFOptionsKit in_kit) |
ExportGLTFOptionsKit () | |
ExportGLTFOptionsKit (HPS.Exchange.ExportGLTFOptionsKit in_kit) | |
override int | GetHashCode () |
override HPS.Type | ObjectType () |
void | Set (HPS.Exchange.ExportGLTFOptionsKit in_kit) |
HPS.Exchange.ExportGLTFOptionsKit | SetAscii (bool in_state) |
HPS.Exchange.ExportGLTFOptionsKit | SetTextureFolder (string in_name) |
void | Show (out HPS.Exchange.ExportGLTFOptionsKit out_kit) |
bool | ShowAscii (out bool out_state) |
bool | ShowTextureFolder (out string out_path) |
HPS.Exchange.ExportGLTFOptionsKit | UnsetAscii () |
HPS.Exchange.ExportGLTFOptionsKit | UnsetEverything () |
HPS.Exchange.ExportGLTFOptionsKit | UnsetTextureFolder () |
![]() | |
SprocketKit (HPS.SprocketKit in_that) | |
![]() | |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
bool | HasType (HPS.Type in_mask) |
Object (HPS.Object that) | |
virtual void | Reset () |
virtual HPS.Type | Type () |
Static Public Member Functions | |
static HPS.Exchange.ExportGLTFOptionsKit | GetDefault () |
static bool | operator!= (HPS.Exchange.ExportGLTFOptionsKit a, HPS.Exchange.ExportGLTFOptionsKit b) |
static bool | operator== (HPS.Exchange.ExportGLTFOptionsKit a, HPS.Exchange.ExportGLTFOptionsKit b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The HPS.Exchange.ExportGLTFOptionsKit class is a user space object. It contains settings controlling how GLTF data is exported via the Exchange interface. Calling HPS.Exchange.ExportGLTFOptionsKit.GetDefault() will return an options kit with values found in here.
Constructor & Destructor Documentation
◆ ExportGLTFOptionsKit() [1/2]
|
inline |
The default constructor creates an empty ExportGLTFOptionsKit object.
◆ ExportGLTFOptionsKit() [2/2]
|
inline |
The copy constructor creates a new ExportGLTFOptionsKit object that contains the same settings as the source ExportGLTFOptionsKit.
- Parameters
-
in_kit The source ExportGLTFOptionsKit to copy.
Member Function Documentation
◆ Empty()
|
inlinevirtual |
Indicates whether this ExportGLTFOptionsKit has any values set on it.
- Returns
- true if no values are set on this ExportGLTFOptionsKit, false otherwise.
Reimplemented from HPS.Object.
◆ Equals()
|
inline |
Check if the source ExportGLTFOptionsKit is equivalent to this ExportGLTFOptionsKit.
- Parameters
-
in_kit The source ExportGLTFOptionsKit to compare to this ExportGLTFOptionsKit.
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetDefault()
|
inlinestatic |
Creates an ExportGLTFOptionsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File.ExportGLTF.
- Returns
- An ExportGLTFOptionsKit with the default settings.
◆ ObjectType()
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.SprocketKit.
◆ Set()
|
inline |
Copies the source ExportGLTFOptionsKit into this ExportGLTFOptionsKit.
- Parameters
-
in_kit The source ExportGLTFOptionsKit to copy.
◆ SetAscii()
|
inline |
Sets whether to write GLTF data in ascii form. This corresponds to the value that will be passed to A3DRWParamsExportGLTFData::m_bAscii.
- Parameters
-
in_state Whether to write GLTF data in ascii form.
- Returns
- A reference to this ExportGLTFOptionsKit.
- See also
- Default value
◆ SetTextureFolder()
|
inline |
Sets folder where texture will be exported (if any). If NULL, then texture are written in the same directory as the .fbx. Symbol @ is expanded as Filename of current file (without extension) Example: If the output file is 'C:/out/myfile.obj' and the texture folder is set to 'C:/out/myfile.obj', the exoport process will create a directory called 'C:/out/myfile' and place the textures there
- Parameters
-
in_name UTF8-encoded path to the folder where texture will be exported. This corresponds to the value that will be passed to and A3DRWParamsExportFbxData::m_pcTextureFolder.
- Returns
- A reference to this ExportGLTFOptionsKit.
- See also
- Default value
◆ Show()
|
inline |
Copies this ExportGLTFOptionsKit into the given ExportGLTFOptionsKit.
- Parameters
-
out_kit The ExportGLTFOptionsKit to populate with the contents of this ExportGLTFOptionsKit.
◆ ShowAscii()
|
inline |
Shows the ascii export setting.
- Parameters
-
out_state Whether to write GLTF data in ascii form.
- Returns
- true if a ascii export setting was specified, false otherwise.
◆ ShowTextureFolder()
|
inline |
Shows the texture folder setting.
- Parameters
-
out_path The path to the folder where texture will be exported.
- Returns
- true if a texture folder setting was specified, false otherwise.
◆ UnsetAscii()
|
inline |
Removes the ascii export setting.
- Returns
- A reference to this ExportGLTFOptionsKit.
◆ UnsetEverything()
|
inline |
Removes all settings from this ExportGLTFOptionsKit.
- Returns
- A reference to this ExportGLTFOptionsKit.
◆ UnsetTextureFolder()
|
inline |
Removes the texture folder setting.
- Returns
- A reference to this ExportGLTFOptionsKit.
The documentation for this class was generated from the following file:
- internals/hps_sprk_exchange/source/cs/HPS.Exchange.cs