Skip to content

Latest commit

 

History

History
134 lines (83 loc) · 9.74 KB

class_wellfired_guacamole_unity_editor_nativecontrols_views_baserenderer.rst

File metadata and controls

134 lines (83 loc) · 9.74 KB

BaseRenderer

Namespace: WellFired.Guacamole.Unity.Editor.NativeControls<namespacewellfired_guacamole_unity_editor_nativecontrols>

Implements: WellFired.Guacamole.Renderer.INativeRenderer<interfacewellfired_guacamole_renderer_inativerenderer>

Description

Properties

View<classwellfired_guacamole_views_view> Control<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1af9e8fc1816d1b0db56a725d870b7576f> { get; set; }
Rect UnityRect<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a75a2963ecbce06242acc300fc38c6197> { get; set; }
GUIStyle Style<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a81b4ca35b3d5c2a3c6034387f4a8ac8c> { get; set; }

Public Properties

UISize<structwellfired_guacamole_data_uisize> NativeSize<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1abc8334ef77e990de4012c56d3a64f1c9>

Public Methods

void Create<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1ac03139648ed5e0c94dabc8a28553629b> ( )
void Render<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1ae1f6c95ba1306b196997a80ca965332a> ( UIRect<structwellfired_guacamole_data_uirect> renderRect )
void OnViewPropertyChanged<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a1443a6cbeb49eacbb2e8c11b27a9fb73> ( object sender, PropertyChangedEventArgs e )
void ResetStyle<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a4b40177116d40c195b7e96ac563a8d8c> ( )
void FocusControl<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a852e17b54b4376f341b6b7f3061ef8a5> ( )
bool PushMaskStack<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a077a66e5abbe1d1e02be2e535bf59af1> ( UIRect<structwellfired_guacamole_data_uirect> maskRect )
void PopMaskStack<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1aabd50f768791313eb86bb6d42e13bb44> ( )
void RecycleWithNewBindingContext<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a9695beba0e3629962a7d154943f7f2d5> ( )

protected-func

void SetupWithNewStyle<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1a8632f650675f21a6b69c5aa20c57e7fe> ( )

Breakdown

  • View<classwellfired_guacamole_views_view> Control { get; set; }
  • Rect UnityRect { get; set; }
  • GUIStyle Style { get; set; }
  • UISize<structwellfired_guacamole_data_uisize> NativeSize
  • void Create ( )
  • void Render ( UIRect<structwellfired_guacamole_data_uirect> renderRect )
  • void OnViewPropertyChanged ( object sender, PropertyChangedEventArgs e )
  • void ResetStyle ( )
  • void FocusControl ( )
  • bool PushMaskStack ( UIRect<structwellfired_guacamole_data_uirect> maskRect )

    Description

    When PushMaskStack is called, the rect that is passed to Push defines the mask rect. If you call Push, you must also call Pop. I.E. PushMaskStack(rect) DoSomeRendering() PopMaskStack()<classwellfired_guacamole_unity_editor_nativecontrols_views_baserenderer_1aabd50f768791313eb86bb6d42e13bb44> Not all NativeViews will push a MaskStack

    Parameters

    maskRect The rect with which you want to mask
  • void PopMaskStack ( )

    Description

    You must call PopMaskStack after a call to PushMaskStack, once you've finished rendering into that masked area.

  • void RecycleWithNewBindingContext ( )

    Description

    When a view has been recycled, this method will be called. Currently only works for Cells<namespacewellfired_guacamole_unity_editor_nativecontrols_cells>.

  • void SetupWithNewStyle ( )