当前位置:网站首页>Ugui learning notes (I) rendering level
Ugui learning notes (I) rendering level
2022-07-28 17:04:00 【More than a curtain a dream】
1.Unity3D The rendering order in is as follows :
Different Camera Of Depth
identical Camera The next difference SortingLayer
identical SortingLayer The next difference Z Axis /Order in Layer
2. Change the hierarchical relationship between controls
(1) same canvas Next :
Change control transform Of SiblingIndex,
transform.GetSiblingIndex();
transform.SetSiblingIndex(int index); //index The bigger the value is. , Post crossing rendering , The higher the level , The more displayed in front
(2) Different Canvas Next :
Set up Canvas Under the Sort Order //Sort Order The bigger the value is. , Post crossing rendering , The higher the level , The more displayed in front
Render order and hierarchy The placement order of objects in the panel is also related
Pictured , The objects on the upper side of the panel are rendered first , The rendered image is displayed in front of the image .
Render Mode All are Screen Space-Camera Render order when
1. Follow the painting rules
2. Followed by Render Camera Of Depth value 、Sorting Layer Order 、Order in Layer Values determine
Render Camera Different time , from Render Camera Of Depth decision
Render Camera Phase at the same time , from Sorting Layer Order determines
Render Camera Phase at the same time ,Sorting Layer identical , from Order in Layer Values determine .
Two 、1.OverLay Pattern , Always cover other objects . Appear on the top . Not affected by the camera Depth Value impact .
2. When there are multiple cameras , By the camera Depth Values determine
3. When there is only one camera , Determined by distance and direction World Patterns and Camera Pattern 、 Their rendering results Ke Qian 、 After that 、 Can be interspersed .
transform.SetAsLastSibling
transform.SetAsFirstSibling
transform.SetSiblingIndex The three functions can be used flexibly , You can dynamically modify the occlusion relationship between pictures in the code
transform.GetSiblingIndex You can get an object in the code UI The positional relationship in the view
边栏推荐
- Brother Ali teaches you how to correctly understand the problem of standard IO buffer
- In 2020q2, shipments in the global tablet market soared by 26.1%: Huawei ranked third and Lenovo increased the most!
- Summary of kubenertes 1.16 cluster deployment problems
- It is said that NVIDIA has held talks with Softbank and will offer more than US $32billion to acquire arm
- Comprehensively design an oppe homepage -- after sales service of the page
- Interesting kotlin 0x09:extensions are resolved statically
- ticdc同步数据怎么设置只同步指定的库?
- 【深度学习】:《PyTorch入门到项目实战》第七天之模型评估和选择(上):欠拟合和过拟合(含源码)
- Global mobile communication base station market in 2019: Ericsson, Huawei and Nokia ranked in the top three
- 小程序:获取元素节点信息
猜你喜欢

【深度学习】:《PyTorch入门到项目实战》第五天:从0到1实现Softmax回归(含源码)

Re14:读论文 ILLSI Interpretable Low-Resource Legal Decision Making

Egg (19): use egg redis performance optimization to cache data and improve response efficiency

技术分享 | 误删表以及表中数据,该如何恢复?

Re13: read the paper gender and racial stereotype detection in legal opinion word embeddings

ERROR: transport library not found: dt_ socket

Nowcode- learn to delete duplicate elements in the linked list (detailed explanation)

Binary representation of negative integers and floating point numbers

阿里云 MSE 支持 Go 语言流量防护

大学生参加六星教育PHP培训,找到了薪水远超同龄人的工作
随机推荐
PostgreSQL weekly news - July 20, 2022
Deep understanding of deepsea and salt deployment tools – storage6
Applet: get element node information
Semtech推出物联网地理定位解决方案LoRa Edge,首款芯片LR1110现已上市
go语言慢速入门——流程控制语句
微软:Edge 浏览器已内置磁盘缓存压缩技术,可节省空间占用且不降低系统性能
Alibaba cloud - Wulin headlines - site building expert competition
记录ceph两个rbd删除不了的处理过程
Signal shielding and processing
小程序:获取元素节点信息
给定正整数N、M,均介于1~10 ^ 9之间,N <= M,找出两者之间(含N、M)的位数为偶数的数有多少个
在AD中添加差分对及连线
Record development issues
First day of QT study
Is smart park the trend of future development?
HTAP是有代价的
【深度学习】:《PyTorch入门到项目实战》第七天之模型评估和选择(上):欠拟合和过拟合(含源码)
[deep learning]: day 5 of pytorch introduction to project practice: realize softmax regression from 0 to 1 (including source code)
有趣的 Kotlin 0x06:List minus list
asmlinkage的理解