- 最后登录
- 2024-6-3
- 注册时间
- 2009-10-16
- 阅读权限
- 100
- 积分
- 18803
- 纳金币
- 17488
- 精华
- 1
|
Force Cursor (Interactive Behavior)
Summary
Forces the mouse to use a certain cursor everywhere in the scene.
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.0.1 of the 'Force Cursor' behavior, current as of 2005-Feb-11)
Description
If
Set Cursor Immediately?
is checked, the cursor will be set as soon as this behavior is attached, and will keep the cursor at this value until the behavior is detached or the
Turn Off
action is called.
If
Set Cursor Immediately?
is not checked, this behavior will not do anything until the
Set Cursor
action is called.
When you invoke the
Set Cursor
action, you can specify a cursor to use, which will override the
Cursor
parameter for this behavior. To use the cursor specified in this behavior, simply specify the
Default
cursor when you call
Set Cursor
action.
To easily set the cursor for a single object when the mouse is over it, use the
My Cursor
behavior instead.
The
Activated
and
Deactivated
events will fire whenever this behavior is made active (via the
Set Cursor
action or the
Set Cursor Immediately?
checkbox) or inactive (via detach or the
Turn Off
action).
Basic Properties
Cursor
The cursor to display.
Set Immediately?
Set the mouse cursor as soon as possible, or wait for the 'Set Cursor' action to be invoked?
Actions
Set Cursor
Force the mouse to use the specified cursor.
Cursor
The cursor to display (use 'Default' to use the cursor specified in the behavior).
Turn Off
Stop forcing the mouse to use a specific cursor.
Events
Activated
Fires when the cursor is set by this behavior.
Deactivated
Fires when the cursor is unset by this behavior.
Demonstration
View Demonstration Project
Download Project File
|
|