pub struct RetextureRequest {
pub input_task_id: Option<String>,
pub model_url: Option<String>,
pub prompt: String,
pub enable_pbr: Option<bool>,
pub ai_model: Option<String>,
}Expand description
Request for AI retexturing of an existing 3D model.
Fields§
§input_task_id: Option<String>ID of a completed 3D task to retexture.
model_url: Option<String>Direct URL to a 3D model file.
prompt: StringText prompt describing the desired texture.
enable_pbr: Option<bool>Enable PBR texture maps (metallic, roughness, normal).
ai_model: Option<String>Meshy AI model to use (default: “meshy-6”).
Trait Implementations§
Source§impl Clone for RetextureRequest
impl Clone for RetextureRequest
Source§fn clone(&self) -> RetextureRequest
fn clone(&self) -> RetextureRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 RetextureRequest
impl Debug for RetextureRequest
Source§impl Default for RetextureRequest
impl Default for RetextureRequest
Source§fn default() -> RetextureRequest
fn default() -> RetextureRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RetextureRequest
impl RefUnwindSafe for RetextureRequest
impl Send for RetextureRequest
impl Sync for RetextureRequest
impl Unpin for RetextureRequest
impl UnsafeUnpin for RetextureRequest
impl UnwindSafe for RetextureRequest
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