class WorldPanel

in global :: Sandbox . UI

An interactive 2D panel rendered in the 3D world.


public Transform Transform { get; set; }

Transform of the world panel in 3D space.

public ITagSet Tags { get; }

Tags that are applied to the underlying SceneObject

public Vector3 Position { get; set; }

Position of the world panel in 3D space.

public Rotation Rotation { get; set; }

Rotation of the world panel in 3D space.

public float WorldScale { get; set; }

Scale of the world panel in 3D space.

public float MaxInteractionDistance { get; set; }

Maximum distance at which a player can interact with this world panel.

public void OnKeyTyped( char k )

😔 No documentation found.

public void OnPaste( string text )

😔 No documentation found.

public string GetClipboardValue( bool cut )

😔 No documentation found.

public void OnMouseWheel( Vector2 value )

😔 No documentation found.

public bool TryScroll( Vector2 value )

😔 No documentation found.

public bool TryScrollToBottom( )

😔 No documentation found.

public void SetMouseCapture( bool b )

😔 No documentation found.

public bool HasMouseCapture { get; }

😔 No documentation found.

public Vector2 ScrollOffset { get; set; }

😔 No documentation found.

public bool HasContent { get; }

😔 No documentation found.

public void OnButtonTyped( ButtonEvent e )

😔 No documentation found.

public float ScaleToScreen { get; }

😔 No documentation found.

public float ScaleFromScreen { get; }

😔 No documentation found.

public Nullable<Matrix> LocalMatrix { get; }

😔 No documentation found.

public Nullable<Matrix> GlobalMatrix { get; }

😔 No documentation found.

public Box Box { get; set; }

😔 No documentation found.

public void FinalLayout( Vector2 offset )

😔 No documentation found.

public bool AcceptsImeInput { get; }

😔 No documentation found.

public bool IsDeleting { get; }

😔 No documentation found.

public bool CanDragScroll { get; set; }

😔 No documentation found.

public bool HasScrollX { get; }

😔 No documentation found.

public bool HasScrollY { get; }

😔 No documentation found.

public void AddEventListener( string eventName, Action<PanelEvent> e )

😔 No documentation found.

public void AddEventListener( string eventName, Action action )

😔 No documentation found.

public void CreateEvent( string name, object value = null, Nullable<float> debounce = null )

😔 No documentation found.

public void CreateEvent( PanelEvent evnt )

😔 No documentation found.

public Vector2 MousePosition { get; }

😔 No documentation found.

public Vector2 GetTransformPosition( Vector2 pos )

😔 No documentation found.

public bool IsInside( Vector2 pos )

😔 No documentation found.

public bool IsInside( Rect rect, bool fullyInside )

😔 No documentation found.

public bool AcceptsFocus { get; set; }

😔 No documentation found.

public PanelInputType ButtonInput { get; set; }

😔 No documentation found.

public float Opacity { get; }

😔 No documentation found.

public bool Focus( )

😔 No documentation found.

public void OnButtonEvent( ButtonEvent e )

😔 No documentation found.

public bool Blur( )

😔 No documentation found.

public void PlaySound( string sound )

😔 No documentation found.

public bool PreferScrollToBottom { get; set; }

😔 No documentation found.

public void OnTemplateSlot( INode element, string slotName, Panel panel )

😔 No documentation found.

public string Tooltip { get; set; }

😔 No documentation found.

public string TooltipClass { get; set; }

😔 No documentation found.

public bool HasTooltip { get; }

😔 No documentation found.

public Transitions Transitions { get; }

😔 No documentation found.

public bool HasActiveTransitions { get; }

😔 No documentation found.

public void SkipTransitions( )

😔 No documentation found.

public object UserData { get; set; }

😔 No documentation found.

public CancellationToken DeletionToken { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public WorldPanel( SceneWorld world )

😔 No documentation found.

public TaskSource Task

😔 No documentation found.

public bool TryFindKeyframe( string name, ref KeyFrames keyframes )

😔 No documentation found.

public Vector2 ScrollVelocity

😔 No documentation found.

public PanelStyle Style { get; }

😔 No documentation found.

public bool IsScrollAtBottom { get; }

😔 No documentation found.

public Vector2 ScrollSize { get; }

😔 No documentation found.

public bool WantsDrag { get; }

😔 No documentation found.

public void MoveAfterSibling( Panel previousSibling )

😔 No documentation found.

public void SetChildIndex( Panel child, int newIndex )

😔 No documentation found.

public void SetPropertyObject( string name, object value )

😔 No documentation found.

public void SetProperty( string name, string value )

😔 No documentation found.

public void SetAttribute( string k, string v )

😔 No documentation found.

public string GetAttribute( string k, string defaultIfNotFound = null )

😔 No documentation found.

public void Bind( string ourPropertyName, object targetObject, string theirPropertyName )

😔 No documentation found.

public void SetContent( string value )

😔 No documentation found.

public RenderFragment ChildContent { get; set; }

😔 No documentation found.

public void StateHasChanged( )

😔 No documentation found.

public void OnRenderFragmentChanged( Panel upTo )

😔 No documentation found.

public void DrawContent( ref RenderState state )

😔 No documentation found.

public void DrawBackground( ref RenderState state )

😔 No documentation found.

public IEnumerable<IStyleBlock> ActiveStyleBlocks { get; }

😔 No documentation found.

public Styles ComputedStyle { get; }

😔 No documentation found.

public void Invoke( float seconds, Action action )

😔 No documentation found.

public IEnumerable<string> Class { get; }

😔 No documentation found.

public void SortChildren( Func<Panel,int> sorter )

😔 No documentation found.

public int SiblingIndex { get; }

😔 No documentation found.

public T AddChild( string classnames = null )

😔 No documentation found.

public bool AddChild( ref T outPanel, string classnames = null )

😔 No documentation found.

public IEnumerable<Panel> AncestorsAndSelf { get; }

😔 No documentation found.

public IEnumerable<Panel> Ancestors { get; }

😔 No documentation found.

public IEnumerable<Panel> Descendants { get; }

😔 No documentation found.

public bool IsAncestor( Panel panel )

😔 No documentation found.

public RootPanel FindRootPanel( )

😔 No documentation found.

public Panel FindPopupPanel( )

😔 No documentation found.

public Scene Scene { get; set; }

😔 No documentation found.

public int GetChildIndex( Panel panel )

😔 No documentation found.

public Panel GetChild( int index, bool loop = False )

😔 No documentation found.

public int ChildrenCount { get; }

😔 No documentation found.

public IEnumerable<T> ChildrenOfType( )

😔 No documentation found.

public void SortChildren( Func<TargetType,int> sorter )

😔 No documentation found.

public string StringValue { get; set; }

😔 No documentation found.

public void SortChildren( Comparison<Panel> sorter )

😔 No documentation found.

public static float ScreenToWorldScale { get; }

😔 No documentation found.

public void Delete( bool immediate = False )

😔 No documentation found.

public void OnDeleted( )

😔 No documentation found.

public bool RayToLocalPosition( Ray ray, ref Vector2 position, ref float distance )

😔 No documentation found.

public Rect PanelBounds { get; set; }

😔 No documentation found.

public float Scale { get; }

😔 No documentation found.

public bool RenderedManually { get; set; }

😔 No documentation found.

public bool IsWorldPanel { get; set; }

😔 No documentation found.

public bool IsVR { get; }

😔 No documentation found.

public bool IsHighQualityVR { get; }

😔 No documentation found.

public void OnLayout( ref Rect layoutRect )

😔 No documentation found.

public void RenderManual( float opacity = 1 )

😔 No documentation found.

public PanelCreator Add { get; }

😔 No documentation found.

public IEnumerable<Panel> Children { get; }

😔 No documentation found.

public bool HasChildren { get; }

😔 No documentation found.

public Panel Parent { get; set; }

😔 No documentation found.

public void AddChild( Panel p )

😔 No documentation found.

public void DeleteChildren( bool immediate = False )

😔 No documentation found.

public string Classes { get; set; }

😔 No documentation found.

public void AddClass( string classname )

😔 No documentation found.

public bool IsVisibleSelf { get; }

😔 No documentation found.

public void Tick( )

😔 No documentation found.

public void OnParentChanged( )

😔 No documentation found.

public bool WantsMouseInput( )

😔 No documentation found.

public Vector2 ScreenPositionToPanelDelta( Vector2 pos )

😔 No documentation found.

public Vector2 ScreenPositionToPanelPosition( Vector2 pos )

😔 No documentation found.

public Vector2 PanelPositionToScreenPosition( Vector2 pos )

😔 No documentation found.

public IEnumerable<Panel> FindInRect( Rect box, bool fullyInside )

😔 No documentation found.

public bool AllowChildSelection { get; set; }

😔 No documentation found.

public bool IsValid { get; }

😔 No documentation found.

public void SelectAllInChildren( )

😔 No documentation found.

public void UnselectAllInChildren( )

😔 No documentation found.

public void LanguageChanged( )

😔 No documentation found.

public StyleSheetCollection StyleSheet

😔 No documentation found.

public void InvokeOnce( string name, float seconds, Action action )

😔 No documentation found.

public bool IsVisible { get; }

😔 No documentation found.

public void CancelInvoke( string name )

😔 No documentation found.

public bool Switch( PseudoClass c, bool state )

😔 No documentation found.

public void SetClass( string classname, bool active )

😔 No documentation found.

public void FlashClass( string classname, float seconds )

😔 No documentation found.

public void ToggleClass( string classname )

😔 No documentation found.

public void RemoveClass( string classname )

😔 No documentation found.

public bool HasClass( string classname )

😔 No documentation found.

public void BindClass( string className, Func<bool> func )

😔 No documentation found.

public string ElementName { get; set; }

😔 No documentation found.

public string Id { get; set; }

😔 No documentation found.

public string SourceFile { get; set; }

😔 No documentation found.

public int SourceLine { get; set; }

😔 No documentation found.

public PseudoClass PseudoClass { get; set; }

😔 No documentation found.

public bool HasFocus { get; }

😔 No documentation found.

public bool HasActive { get; }

😔 No documentation found.

public bool HasHovered { get; }

😔 No documentation found.

public bool HasIntro { get; }

😔 No documentation found.

public bool HasOutro { get; }

😔 No documentation found.

public IEnumerable<StyleSheet> AllStyleSheets { get; }

😔 No documentation found.

public void OnHotloaded( )

😔 No documentation found.