C# Class DeltaDNA.ImageMessage.BackgroundLayer

Inheritance: Layer
显示文件 Open project: deltaDNA/unity-sdk

Public Methods

Method Description
Build ( ImageMessage imageMessage, Dictionary,System.Collections.Generic layout, Texture texture, int depth ) : void
OnGUI ( ) : void

Private Methods

Method Description
GetConstraintPixels ( string constraint, float edge ) : float
RenderAsContain ( Dictionary,System.Collections.Generic rules ) : Rect
RenderAsCover ( Dictionary,System.Collections.Generic rules ) : Rect

Method Details

Build() public method

public Build ( ImageMessage imageMessage, Dictionary,System.Collections.Generic layout, Texture texture, int depth ) : void
imageMessage ImageMessage
layout Dictionary,System.Collections.Generic
texture UnityEngine.Texture
depth int
return void

OnGUI() public method

public OnGUI ( ) : void
return void