pub struct RetargetAnimationRequest {
pub original_model_task_id: String,
pub animation: AnimationInput,
pub out_format: Option<RigOutputFormat>,
pub bake_animation: Option<bool>,
pub export_with_geometry: Option<bool>,
pub animate_in_place: Option<bool>,
}Expand description
Request body for retarget_animation. Wire type: animate_retarget.
Fields§
§original_model_task_id: StringSource rigged task id.
animation: AnimationInputAnimation(s) to retarget; serializes as animation (single) or animations (list).
out_format: Option<RigOutputFormat>Output file format.
bake_animation: Option<bool>Bake animation samples.
export_with_geometry: Option<bool>Export with skinned geometry.
animate_in_place: Option<bool>Animate in-place.
Implementations§
Trait Implementations§
Source§impl Clone for RetargetAnimationRequest
impl Clone for RetargetAnimationRequest
Source§fn clone(&self) -> RetargetAnimationRequest
fn clone(&self) -> RetargetAnimationRequest
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 RetargetAnimationRequest
impl Debug for RetargetAnimationRequest
Source§impl<'de> Deserialize<'de> for RetargetAnimationRequest
impl<'de> Deserialize<'de> for RetargetAnimationRequest
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for RetargetAnimationRequest
impl JsonSchema for RetargetAnimationRequest
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 RetargetAnimationRequest
impl RefUnwindSafe for RetargetAnimationRequest
impl Send for RetargetAnimationRequest
impl Sync for RetargetAnimationRequest
impl Unpin for RetargetAnimationRequest
impl UnsafeUnpin for RetargetAnimationRequest
impl UnwindSafe for RetargetAnimationRequest
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