pub struct GameObjectRecorder {
pub m_Name: String,
}
Expand description
GameObjectRecorder is a class of the Unity engine since version 2017.1.0b1. Exert from Unity’s scripting documentation: Records the changing properties of a GameObject as the Scene runs and saves the information into an AnimationClip. This class binds GameObject properties, records their values as they change in the running Scene, and saves the result in an AnimationClip. The recorded GameObject is called root in the class, and you can also bind the properties of any child of root.See the following code example on how this class can be implemented and to set what gets recorded.
Fields§
§m_Name: String
The name of the object.
Trait Implementations§
Source§impl Debug for GameObjectRecorder
impl Debug for GameObjectRecorder
Source§impl<'de> Deserialize<'de> for GameObjectRecorder
impl<'de> Deserialize<'de> for GameObjectRecorder
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 GameObjectRecorder
impl RefUnwindSafe for GameObjectRecorder
impl Send for GameObjectRecorder
impl Sync for GameObjectRecorder
impl Unpin for GameObjectRecorder
impl UnwindSafe for GameObjectRecorder
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