#[repr(C)]pub struct Light2DBlendStyle {
pub name: Il2CppString,
pub mask_texture_channel: Light2DBlendStyle_TextureChannel,
pub render_texture_scale: f32,
pub blend_mode: Light2DBlendStyle_BlendMode,
pub custom_blend_factors: Light2DBlendStyle_BlendFactors,
pub render_target_handle: RenderTargetHandle,
}Expand description
Fields§
§name: Il2CppString§mask_texture_channel: Light2DBlendStyle_TextureChannel§render_texture_scale: f32§blend_mode: Light2DBlendStyle_BlendMode§custom_blend_factors: Light2DBlendStyle_BlendFactors§render_target_handle: RenderTargetHandleImplementations§
Source§impl Light2DBlendStyle
impl Light2DBlendStyle
Sourcepub fn get_blend_factors(&mut self) -> Vector2
pub fn get_blend_factors(&mut self) -> Vector2
get_blendFactors() overload
Sourcepub fn get_mask_texture_channel_filter(
&mut self,
) -> Light2DBlendStyle_MaskChannelFilter
pub fn get_mask_texture_channel_filter( &mut self, ) -> Light2DBlendStyle_MaskChannelFilter
get_maskTextureChannelFilter() overload
Sourcepub fn get_is_dirty(&mut self) -> bool
pub fn get_is_dirty(&mut self) -> bool
get_isDirty() overload
Sourcepub fn set_is_dirty(&mut self, value: impl Into<bool>)
pub fn set_is_dirty(&mut self, value: impl Into<bool>)
set_isDirty(bool) overload
Sourcepub fn get_has_render_target(&mut self) -> bool
pub fn get_has_render_target(&mut self) -> bool
get_hasRenderTarget() overload
Sourcepub fn set_has_render_target(&mut self, value: impl Into<bool>)
pub fn set_has_render_target(&mut self, value: impl Into<bool>)
set_hasRenderTarget(bool) overload
Source§impl Light2DBlendStyle
impl Light2DBlendStyle
pub fn get_blend_factors_method_info() -> &'static MethodInfo
pub fn get_mask_texture_channel_filter_method_info() -> &'static MethodInfo
pub fn get_is_dirty_method_info() -> &'static MethodInfo
pub fn set_is_dirty_method_info() -> &'static MethodInfo
pub fn get_has_render_target_method_info() -> &'static MethodInfo
pub fn set_has_render_target_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for Light2DBlendStyle
impl ClassIdentity for Light2DBlendStyle
Source§impl Clone for Light2DBlendStyle
impl Clone for Light2DBlendStyle
Source§fn clone(&self) -> Light2DBlendStyle
fn clone(&self) -> Light2DBlendStyle
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Light2DBlendStyle
Auto Trait Implementations§
impl Freeze for Light2DBlendStyle
impl RefUnwindSafe for Light2DBlendStyle
impl !Send for Light2DBlendStyle
impl !Sync for Light2DBlendStyle
impl Unpin for Light2DBlendStyle
impl UnwindSafe for Light2DBlendStyle
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)