pub struct TakeInfo {
pub bakeStartTime: f32,
pub bakeStopTime: f32,
pub clip: PPtr,
pub defaultClipName: String,
pub name: String,
pub sampleRate: f32,
pub startTime: f32,
pub stopTime: f32,
pub internalID: Option<i64>,
}Expand description
TakeInfo is a sub class of the Unity engine since version 4.0.0. Exert from Unity’s scripting documentation: A Takeinfo object contains all the information needed to describe a take. See Also: ModelImporter.importedTakeInfos.
Fields§
§bakeStartTime: f32Start time in second.
bakeStopTime: f32Stop time in second.
clip: PPtrPPtr<AnimationClip>: (4.0.0 - 2022.3.2f1)
defaultClipName: StringThis is the default clip name for the clip generated for this take.
name: StringTake name as define from imported file.
sampleRate: f32Sample rate of the take.
startTime: f32Start time in second.
stopTime: f32Stop time in second.
internalID: Option<i64>i64: (2019.1.0b1 - 2022.3.2f1)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TakeInfo
impl<'de> Deserialize<'de> for TakeInfo
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
Auto Trait Implementations§
impl Freeze for TakeInfo
impl RefUnwindSafe for TakeInfo
impl Send for TakeInfo
impl Sync for TakeInfo
impl Unpin for TakeInfo
impl UnwindSafe for TakeInfo
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