- 最后登录
- 2024-6-3
- 注册时间
- 2009-10-16
- 阅读权限
- 100
- 积分
- 18803
- 纳金币
- 17488
- 精华
- 1
|
Summary
Keeps two objects connected with a line, with optional start/end arrows.
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 1.2.0 of the 'Connection Line' behavior, current as of 2005-Aug-04)
Description
The line that connects the two objects together is actually a long cylinder. The
Line Width
,
Line Color
,
Line Opacity
, and
Line Glow
properties let you change the display style of the connection.
Both the
Start Object
and
End Object
properties default to the parent object; you must pick a different object for one of the ends to draw a connection line between them.
You may choose to attach an ‘arrow’ object at either end of the connection (or both) by setting the
Start Arrow Type
and
End Arrow Type
properties to something other than
None
. You can choose the model for the arrow, its color, opacity, glow, length and width.
The connection line is kept updated as the objects move around. By default, the line is drawn between the ‘center’ (pivot) point for each object. (If an end object is transparent, you will see the connection line entering it.) However, if an arrow head is placed on the connection line the arrow head stops at the edge of the model (and the connection line stops at the end of the arrow head).
To force the connection line to draw between the edges of the end models, turn on an arrow head for each end, but set the length, width, and opacity for each model to 0.
Basic Properties
Start Object
The object to connect the 'start' of the line to.
End Object
The object to connect the 'end' of the line to.
Advanced Properties
Line Color
Color for the line.
Line Width
Width/depth for the line.
Line Opacity
Opacity of for the line.
Line Glow
Emissive Power of the line.
Start Arrow Type
Object to use for the Start Arrow.
Start Color
Color for the arrow.
Start Length
Length of object used as the arrow.
Start Width
Width/depth of object used as the arrow.
Start Opacity
Opacity of the arrow.
Start Glow
Emissive Power of the arrow.
End Arrow Type
Object to use for the End Arrow.
End Color
Color for the arrow.
End Length
Length of object used as the arrow.
End Width
Width/depth of object used as the arrow.
End Opacity
Opacity of the arrow.
End Glow
Emissive Power of the arrow.
Actions
Hide
Hide the connection line
Show
Show the connection line
Demonstration
View Demonstration Project
Download Project File
|
|