UGUI 介面相關彙總

2021-10-01 01:24:32 字數 1555 閱讀 6439

--------------光線投射過濾器---------

public inte***ce icanvasraycastfilter

-------------執行裁切功能介面---------

public inte***ce iclipper

----------可裁剪功能------

public inteface iclippable

void recalculaterectclipping();

recttransform recttransfomr

void cull(rect rect,bool validrect);

void setcliprect(rect value,bool validrect);

}

--------------透明遮罩介面---------------

public inteface imaskable

------------材質修改介面--------------

public inteface materialmodifier

---------------icanvaselement布局元素的介面功能-----------------------

public inte***ce ilayoutelement

; void layoutcomplete();

void layoutupdatecomplete();

bool isdestroy();

}

//canvas 布局的狀態

public enum canvasupdate

-----------icanvaselement------------

需要canvas繪製的物件都實現該介面,如text, image等

public inte***ce icanvaselement

void layoutcomplete();

void graphicupdatelayout();

bool isdestroy();

}

public inte***ce ilayoutcontroller

public inte***ce ilayoutgroup:ilayoutcontroller

public inte***ce ilayoutselfcontroller:ilayoutcontroller

public inte***ce ilayoutignorer

public inte***ce ilayoutelement

;}

介面相關的

http協議請求頭資訊頭 accept 這個頭表示,瀏覽器告訴伺服器它支援的資料型別 accept charset 這個頭表示,瀏覽器告訴伺服器它採用的字符集 accept eecoding 這個頭表示,瀏覽器告訴伺服器它所支援的壓縮格式 accept language 這個頭表示,瀏覽器告訴伺服器...

介面相關知識

employee 抽象類中定義成員變數 author kidd data 2020年2月7日 下午3 39 56 remarks todo public abstract class employee 但是在介面中這樣定義成員變數會報錯 employee 介面中定義成員變數 author kidd ...

介面相關工具推薦

最近做的專案有乙個介面測試,做到現在思緒很多,也是剛開始做這類測試,在探索中,就先說說我專案中選擇的工具吧,一路過來選擇了不少工具,在每個階段我都是尋找滿足我的要求就可以了,適合才是最好的,你說呢 1 apachebench 這個工具是最開始同事推薦給我的,當時花了兩個晚上體驗了下,覺得基本可以滿足...