#[repr(C)]pub struct TileData {
pub m_sprite: Sprite,
pub m_color: Color,
pub m_transform: Matrix4x4,
pub m_game_object: GameObject,
pub m_flags: TileFlags,
pub m_collider_type: Tile_ColliderType,
}Expand description
Fields§
§m_sprite: Sprite§m_color: Color§m_transform: Matrix4x4§m_game_object: GameObject§m_flags: TileFlags§m_collider_type: Tile_ColliderTypeImplementations§
Source§impl TileData
impl TileData
Sourcepub fn set_sprite(&mut self, value: impl Into<Sprite>)
pub fn set_sprite(&mut self, value: impl Into<Sprite>)
set_sprite(crate::unity_engine::sprite::Sprite) overload
Sourcepub fn set_color(&mut self, value: impl Into<Color>)
pub fn set_color(&mut self, value: impl Into<Color>)
set_color(crate::unity_engine::color::Color) overload
Sourcepub fn set_transform(&mut self, value: impl Into<Matrix4x4>)
pub fn set_transform(&mut self, value: impl Into<Matrix4x4>)
set_transform(crate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn set_game_object(&mut self, value: impl Into<GameObject>)
pub fn set_game_object(&mut self, value: impl Into<GameObject>)
set_gameObject(crate::unity_engine::gameobject::GameObject) overload
Sourcepub fn set_flags(&mut self, value: impl Into<TileFlags>)
pub fn set_flags(&mut self, value: impl Into<TileFlags>)
set_flags(crate::unity_engine::tilemaps::tileflags::TileFlags) overload
Sourcepub fn set_collider_type(&mut self, value: impl Into<Tile_ColliderType>)
pub fn set_collider_type(&mut self, value: impl Into<Tile_ColliderType>)
set_colliderType(crate::unity_engine::tilemaps::tile::Tile_ColliderType) overload
Source§impl TileData
impl TileData
pub fn set_sprite_method_info() -> &'static MethodInfo
pub fn set_color_method_info() -> &'static MethodInfo
pub fn set_transform_method_info() -> &'static MethodInfo
pub fn set_game_object_method_info() -> &'static MethodInfo
pub fn set_flags_method_info() -> &'static MethodInfo
pub fn set_collider_type_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TileData
impl RefUnwindSafe for TileData
impl !Send for TileData
impl !Sync for TileData
impl Unpin for TileData
impl UnwindSafe for TileData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)