pub struct ConvertModelRequest {Show 19 fields
pub original_model_task_id: String,
pub format: OutputFormat,
pub quad: Option<bool>,
pub force_symmetry: Option<bool>,
pub face_limit: Option<i32>,
pub flatten_bottom: Option<bool>,
pub flatten_bottom_threshold: Option<f64>,
pub texture_size: Option<i32>,
pub texture_format: Option<TextureFormat>,
pub scale_factor: Option<f64>,
pub pivot_to_center_bottom: Option<bool>,
pub with_animation: Option<bool>,
pub pack_uv: Option<bool>,
pub bake: Option<bool>,
pub part_names: Option<Vec<String>>,
pub export_vertex_colors: Option<bool>,
pub fbx_preset: Option<FbxPreset>,
pub export_orientation: Option<ExportOrientation>,
pub animate_in_place: Option<bool>,
}Expand description
Request body for convert_model. Wire type: convert_model.
Fields§
§original_model_task_id: StringSource task id.
format: OutputFormatTarget mesh format.
quad: Option<bool>Quad output.
force_symmetry: Option<bool>Mirror symmetry enforcement.
face_limit: Option<i32>Face count limit.
flatten_bottom: Option<bool>Flatten the model bottom.
flatten_bottom_threshold: Option<f64>Flatten threshold (meters).
texture_size: Option<i32>Texture resolution (pixels per side).
texture_format: Option<TextureFormat>Texture format.
scale_factor: Option<f64>Uniform scale factor.
pivot_to_center_bottom: Option<bool>Reset pivot to the bottom-center of the bounding box.
with_animation: Option<bool>Include animation data.
pack_uv: Option<bool>Pack UVs.
bake: Option<bool>Bake textures.
part_names: Option<Vec<String>>Restrict to named parts.
export_vertex_colors: Option<bool>Export per-vertex colors.
fbx_preset: Option<FbxPreset>FBX target preset (Blender/Mixamo/3DsMax).
export_orientation: Option<ExportOrientation>Output axis orientation (e.g. +y).
animate_in_place: Option<bool>Keep animated character in place.
Trait Implementations§
Source§impl Clone for ConvertModelRequest
impl Clone for ConvertModelRequest
Source§fn clone(&self) -> ConvertModelRequest
fn clone(&self) -> ConvertModelRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConvertModelRequest
impl Debug for ConvertModelRequest
Source§impl<'de> Deserialize<'de> for ConvertModelRequest
impl<'de> Deserialize<'de> for ConvertModelRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ConvertModelRequest
impl JsonSchema for ConvertModelRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ConvertModelRequest
impl RefUnwindSafe for ConvertModelRequest
impl Send for ConvertModelRequest
impl Sync for ConvertModelRequest
impl Unpin for ConvertModelRequest
impl UnsafeUnpin for ConvertModelRequest
impl UnwindSafe for ConvertModelRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more