AngeliA
Search Results for

    Show / Hide Table of Contents

    Struct DynamicClampCellScope

    Scope that clamp rendering cells inside given range by changing the size scale of the content

    Implements
    IDisposable
    Examples
    using AngeliA;
    
    namespace AngeliaGame;
    
    public class Example {
    
    	[OnGameUpdate]
    	internal static void OnGameUpdate () {
    
    		var range = new IRect();
    
    		using (new DynamicClampCellScope(range)) {
    
    			// Rendering cell created inside will be clamped by rescale
    
    		}
    
    	}
    
    }

    Constructors

    DynamicClampCellScope(IRect)

    Scope that clamp rendering cells inside given range by changing the size scale of the content

    Declaration
    public DynamicClampCellScope(IRect rect)
    Parameters
    Type Name Description
    IRect rect

    Rect position in global space

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค