查看: 1884|回复: 5
打印 上一主题 下一主题

[Anark] Stick to Screen (Miscellaneous Behavior)

[复制链接]
Asen    

867

主题

0

听众

1万

积分

外协人员

Rank: 7Rank: 7Rank: 7

纳金币
17488
精华
1
跳转到指定楼层
楼主
发表于 2011-10-15 10:57:00 |只看该作者 |倒序浏览






               Stick to Screen (Miscellaneous Behavior)
              









           Summary
         

           Causes the object to stay in a specific spot on the window, even if the camera moves or the window is resized.
         





               Category
              


              Latest Behaviors
            




               Author
              


              Gavin Kistner
            




               Difficulty
              


              (Reference)
            




               Time to Complete
              


              5 Minutes
            








           Downloads
         


            Click Here
           
           to download the associated files.
         


            (This document covers version 2.1.0 of the 'Stick to Screen' behavior, current as of 2005-Feb-16)
           

            Description
           


             This behavior is useful for positioning items along the borders of windows which are not a fixed size.
            

             If you want the object to be on the exact edge of the screen, modify the pivot offset of the object so the origin is on the very side of the object, and then set the
            
              X Position
            
             or
            
              Y Position
            
             to 0 or 100.
            

             0,0 is the top/left corner of the screen.
            

             100,100 is the bottom/right corner.
            

             By default, the advanced
            
              Attach to Camera?
            
             property is checked. With this property checked, the parent object is re-attached to the camera object as soon as the behavior starts. (This makes the position on the screen rock-solid if the camera is moving.)
            

             If re-attaching the object causes problems in your presentation (for example, it will break object references that Relative Path instead of Absolute Path, and may change the apparent scale/rotation of the parent object), uncheck this property. The behavior will use slightly more computational power, and the object may shift slightly on screen (temporarily) if the camera moves…but the parent object will not be detached and re-attached.
            


            Basic Properties
           



              Affect X?
            

              Modify the parent's left/right position?.
            

              X Position
            

              Percent across the screen that the object's pivot point will stick to.
            

              Affect Y?
            

              Modify the parent's up/down position?
            

              Y Position
            

              Percent down the screen that the object's pivot point will stick to.
            



            Advanced Properties
           



              Attach to Camera?
            

              Move the parent to attach to the camera for rock-solid position?
            



            Demonstration
           




              View Demonstration Project
            




              Download Project File
            



分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

   

671

主题

1

听众

3247

积分

中级设计师

Rank: 5Rank: 5

纳金币
324742
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2012-4-20 23:25:35 |只看该作者
俺是新人,这厢有礼了!
回复

使用道具 举报

5969

主题

1

听众

39万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

板凳
发表于 2012-8-8 23:34:44 |只看该作者
既来之,则看之!
回复

使用道具 举报

5969

主题

1

听众

39万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

地板
发表于 2012-9-10 08:31:16 |只看该作者
加精、加亮滴铁子,尤其要多丁页丁页
回复

使用道具 举报

   

671

主题

1

听众

3247

积分

中级设计师

Rank: 5Rank: 5

纳金币
324742
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

5#
发表于 2012-12-2 23:24:39 |只看该作者
既来之,则看之!
回复

使用道具 举报

   

671

主题

1

听众

3247

积分

中级设计师

Rank: 5Rank: 5

纳金币
324742
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

6#
发表于 2013-1-27 23:24:01 |只看该作者
谢谢楼主,真是太实用了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-8-5 10:02 , Processed in 0.118417 second(s), 29 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部