// Generated by scripts/generate.mjs from bindings/api.mjs. Do not edit.
///|
#external
pub type GLTFExportOptions
///|
#module("@mizchi/three-mbt/exporters")
pub extern "js" fn GLTFExportOptions::GLTFExportOptions() -> GLTFExportOptions = "gLTFExportOptions"
///|
pub extern "js" fn GLTFExportOptions::trs(self : GLTFExportOptions) -> Bool =
#| (self) => self.trs
///|
pub extern "js" fn GLTFExportOptions::set_trs(
self : GLTFExportOptions,
value : Bool,
) -> Unit =
#| (self, value) => { self.trs = value; }
///|
pub extern "js" fn GLTFExportOptions::only_visible(
self : GLTFExportOptions,
) -> Bool =
#| (self) => self.onlyVisible
///|
pub extern "js" fn GLTFExportOptions::set_only_visible(
self : GLTFExportOptions,
value : Bool,
) -> Unit =
#| (self, value) => { self.onlyVisible = value; }
///|
pub extern "js" fn GLTFExportOptions::max_texture_size(
self : GLTFExportOptions,
) -> Double =
#| (self) => self.maxTextureSize
///|
pub extern "js" fn GLTFExportOptions::set_max_texture_size(
self : GLTFExportOptions,
value : Double,
) -> Unit =
#| (self, value) => { self.maxTextureSize = value; }
///|
pub extern "js" fn GLTFExportOptions::include_custom_extensions(
self : GLTFExportOptions,
) -> Bool =
#| (self) => self.includeCustomExtensions
///|
pub extern "js" fn GLTFExportOptions::set_include_custom_extensions(
self : GLTFExportOptions,
value : Bool,
) -> Unit =
#| (self, value) => { self.includeCustomExtensions = value; }
///|
pub extern "js" fn GLTFExportOptions::animations(
self : GLTFExportOptions,
) -> FixedArray[AnimationClip] =
#| (self) => self.animations.slice()
///|
pub extern "js" fn GLTFExportOptions::set_animations(
self : GLTFExportOptions,
clips : FixedArray[AnimationClip],
) -> Unit =
#| (self, clips) => { self.animations = clips.slice(); }