AsposeThreeDCloud-ThreeDCloudApi
view release on metacpan or search on metacpan
lib/AsposeThreeDCloud/Object/GLTFSaveOption.pm view on Meta::CPAN
return $data;
} else { # hash(model)
my $_instance = eval "AsposeThreeDCloud::Object::$type->new()";
return $_instance->from_hash($data);
}
}
__PACKAGE__->class_documentation({description => '',
class => 'GLTFSaveOption',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'save_format' => {
datatype => 'SaveFormat',
base_name => 'SaveFormat',
description => 'Gets or sets of the SaveFormat.',
format => '',
read_only => '',
},
'lookup_paths' => {
datatype => 'ARRAY[string]',
base_name => 'LookupPaths',
description => 'Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load',
format => '',
read_only => '',
},
'file_name' => {
datatype => 'string',
base_name => 'FileName',
description => 'The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ's material.',
format => '',
read_only => '',
},
'file_format' => {
datatype => 'string',
base_name => 'FileFormat',
description => 'The file format like FBX,U3D,PDF ....',
format => '',
read_only => '',
},
'pretty_print' => {
datatype => 'boolean',
base_name => 'PrettyPrint',
description => 'The JSON content of GLTF file is indented for human reading, default value is false.',
format => '',
read_only => '',
},
'embed_assets' => {
datatype => 'boolean',
base_name => 'EmbedAssets',
description => 'Embed all external assets as base64 into single file in ASCII mode, default value is false.',
format => '',
read_only => '',
},
'use_common_materials' => {
datatype => 'boolean',
base_name => 'UseCommonMaterials',
description => 'Serialize materials using KHR common material extensions, default value is false. Set this to false will cause Aspose.3D export a set of vertex/fragment shader if Aspose.ThreeD.Formats.GLTFSaveOptions.ExportShaders',
format => '',
read_only => '',
},
'flip_tex_coord_v' => {
datatype => 'boolean',
base_name => 'FlipTexCoordV',
description => 'Flip texture coordinate v(t) component, default value is true.',
format => '',
read_only => '',
},
'buffer_file' => {
datatype => 'boolean',
base_name => 'BufferFile',
description => 'The file name of the external buffer file used to store binary data. If this file is not specified, Aspose.3D will generate a name for you. This is ignored when export glTF in binary mode.',
format => '',
read_only => '',
},
'save_extras' => {
datatype => 'boolean',
base_name => 'SaveExtras',
description => 'Save scene object's dynamic properties into 'extra' fields in the generated glTF file. This is useful to provide application-specific data. Default value is false..',
format => '',
read_only => '',
},
'draco_compression' => {
datatype => 'boolean',
base_name => 'DracoCompression',
description => 'Gets or sets whether to enable draco compression.',
format => '',
read_only => '',
},
'file_content_type' => {
datatype => 'FileContentType',
base_name => 'FileContentType',
description => 'Gets or sets of the FileContent type.',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'save_format' => 'SaveFormat',
'lookup_paths' => 'ARRAY[string]',
'file_name' => 'string',
'file_format' => 'string',
'pretty_print' => 'boolean',
'embed_assets' => 'boolean',
'use_common_materials' => 'boolean',
'flip_tex_coord_v' => 'boolean',
'buffer_file' => 'boolean',
'save_extras' => 'boolean',
'draco_compression' => 'boolean',
'file_content_type' => 'FileContentType'
} );
__PACKAGE__->attribute_map( {
'save_format' => 'SaveFormat',
'lookup_paths' => 'LookupPaths',
'file_name' => 'FileName',
'file_format' => 'FileFormat',
( run in 0.883 second using v1.01-cache-2.11-cpan-b16cb0d3907 )