HPS::Exchange::ExportFBXOptionsKit

class HPS.Exchange.ExportFBXOptionsKit : public HPS.SprocketKit

The HPS.Exchange.ExportFBXOptionsKit class is a user space object. It contains settings controlling how FBX data is exported via the Exchange interface. Calling HPS.Exchange.ExportFBXOptionsKit.GetDefault() will return an options kit with values found in here.

Public Functions

override void Dispose ()
override bool Empty ()

Indicates whether this ExportFBXOptionsKit has any values set on it.

Return

true if no values are set on this ExportFBXOptionsKit, false otherwise.

bool Equals (HPS.Exchange.ExportFBXOptionsKit in_kit)

Check if the source ExportFBXOptionsKit is equivalent to this ExportFBXOptionsKit.

Param in_kit

The source ExportFBXOptionsKit to compare to this ExportFBXOptionsKit.

Return

true if the objects are equivalent, false otherwise.

override bool Equals (Object obj)
ExportFBXOptionsKit ()

The default constructor creates an empty ExportFBXOptionsKit object.

ExportFBXOptionsKit (HPS.Exchange.ExportFBXOptionsKit in_kit)

The copy constructor creates a new ExportFBXOptionsKit object that contains the same settings as the source ExportFBXOptionsKit.

Param in_kit

The source ExportFBXOptionsKit to copy.

override int GetHashCode ()
override HPS.Type ObjectType ()

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).

Return

The declared type of the object in question, which may differ from the true, underlying type.

void Set (HPS.Exchange.ExportFBXOptionsKit in_kit)

Copies the source ExportFBXOptionsKit into this ExportFBXOptionsKit.

Param in_kit

The source ExportFBXOptionsKit to copy.

HPS.Exchange.ExportFBXOptionsKit SetAscii (bool in_state)

Sets whether to write FBX data in ascii form. This corresponds to the value that will be passed to A3DRWParamsExportFBXData::m_bAscii.

See

Default value

Param in_state

Whether to write FBX data in ascii form.

Return

A reference to this ExportFBXOptionsKit.

HPS.Exchange.ExportFBXOptionsKit SetTextureFolder (string in_name)

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 export process will create a directory called ‘C:/out/myfile’ and place the textures there

See

Default value

Param 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.

Return

A reference to this ExportFBXOptionsKit.

void Show (out HPS.Exchange.ExportFBXOptionsKit out_kit)

Copies this ExportFBXOptionsKit into the given ExportFBXOptionsKit.

Param out_kit

The ExportFBXOptionsKit to populate with the contents of this ExportFBXOptionsKit.

bool ShowAscii (out bool out_state)

Shows the ascii export setting.

Param out_state

Whether to write FBX data in ascii form.

Return

true if a ascii export setting was specified, false otherwise.

bool ShowTextureFolder (out string out_path)

Shows the texture folder setting.

Param out_path

The path to the folder where texture will be exported.

Return

true if a texture folder setting was specified, false otherwise.

HPS.Exchange.ExportFBXOptionsKit UnsetAscii ()

Removes the ascii export setting.

Return

A reference to this ExportFBXOptionsKit.

HPS.Exchange.ExportFBXOptionsKit UnsetEverything ()

Removes all settings from this ExportFBXOptionsKit.

Return

A reference to this ExportFBXOptionsKit.

HPS.Exchange.ExportFBXOptionsKit UnsetTextureFolder ()

Removes the texture folder setting.

Return

A reference to this ExportFBXOptionsKit.

Public Static Functions

HPS.Exchange.ExportFBXOptionsKit GetDefault ()

Creates an ExportFBXOptionsKit 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.ExportFBX.

Return

An ExportFBXOptionsKit with the default settings.

bool operator!= (HPS.Exchange.ExportFBXOptionsKit a, HPS.Exchange.ExportFBXOptionsKit b)
bool operator== (HPS.Exchange.ExportFBXOptionsKit a, HPS.Exchange.ExportFBXOptionsKit b)