|
Drag[en]gine Script Module DragonScript 1.32.1
|
Simple conversation camera definition. More...
Public Member Functions | |
| void | addShot (SimpleConversationCameraShot shot) |
| Add shot. | |
| void | forEachShot (Block ablock) |
| Visit shots with block. | |
| float | getDelay () |
| Delay in seconds before activating action. | |
| SimpleConversationCameraShot | getShotAt (int index) |
| Shot at index. | |
| int | getShotCount () |
| Count of shots. | |
| SimpleConversationCamera | new (SimpleConversationCamera camera) |
| Create deep copy simple conversation camera definition. | |
| SimpleConversationCamera | new (StringID id) |
| Create simple conversation camera definition. | |
| SimpleConversationCameraShot | randomShot () |
| Random shot or null if no shots are present. | |
| void | setDelay (float delay) |
| Set delay in seconds before activating action. | |
Public Attributes | |
| float | pDelay |
| StringID | pId |
| Array | pShots |
Simple conversation camera definition.
Defines a list of camera shots to select from.
| void Dragengine.ConversationSystem.SimpleConversationCamera.addShot | ( | SimpleConversationCameraShot | shot | ) |
Add shot.
| void Dragengine.ConversationSystem.SimpleConversationCamera.forEachShot | ( | Block | ablock | ) |
Visit shots with block.
Block is required to have signature void(SimpleConversationCameraShot shot) or void(int index, SimpleConversationCameraShot shot).
| float Dragengine.ConversationSystem.SimpleConversationCamera.getDelay | ( | ) |
Delay in seconds before activating action.
Default value is 0.25.
| SimpleConversationCameraShot Dragengine.ConversationSystem.SimpleConversationCamera.getShotAt | ( | int | index | ) |
Shot at index.
| int Dragengine.ConversationSystem.SimpleConversationCamera.getShotCount | ( | ) |
Count of shots.
| SimpleConversationCamera Dragengine.ConversationSystem.SimpleConversationCamera.new | ( | SimpleConversationCamera | camera | ) |
Create deep copy simple conversation camera definition.
| SimpleConversationCamera Dragengine.ConversationSystem.SimpleConversationCamera.new | ( | StringID | id | ) |
Create simple conversation camera definition.
| SimpleConversationCameraShot Dragengine.ConversationSystem.SimpleConversationCamera.randomShot | ( | ) |
Random shot or null if no shots are present.
| void Dragengine.ConversationSystem.SimpleConversationCamera.setDelay | ( | float | delay | ) |
Set delay in seconds before activating action.
| float Dragengine.ConversationSystem.SimpleConversationCamera.pDelay |
| StringID Dragengine.ConversationSystem.SimpleConversationCamera.pId |
| Array Dragengine.ConversationSystem.SimpleConversationCamera.pShots |