public class SetCamera extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
UnrealId of the player we want to set as a camera.
|
protected Location |
Location
Initial location of this camera.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected Boolean |
Release
True to release this player from camera mode.
|
protected Rotation |
Rotation
Initial rotation of this camera.
|
| Constructor and Description |
|---|
SetCamera()
Creates new instance of command SetCamera.
|
SetCamera(SetCamera original)
Cloning constructor.
|
SetCamera(UnrealId Id,
Location Location,
Rotation Rotation,
Boolean Release)
Creates new instance of command SetCamera.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getId()
UnrealId of the player we want to set as a camera.
|
Location |
getLocation()
Initial location of this camera.
|
Rotation |
getRotation()
Initial rotation of this camera.
|
Boolean |
isRelease()
True to release this player from camera mode.
|
SetCamera |
setId(UnrealId Id)
UnrealId of the player we want to set as a camera.
|
SetCamera |
setLocation(Location Location)
Initial location of this camera.
|
SetCamera |
setRelease(Boolean Release)
True to release this player from camera mode.
|
SetCamera |
setRotation(Rotation Rotation)
Initial rotation of this camera.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected UnrealId Id
protected Location Location
protected Rotation Rotation
protected Boolean Release
public SetCamera(UnrealId Id, Location Location, Rotation Rotation, Boolean Release)
Id - UnrealId of the player we want to set as a camera.Location - Initial location of this camera.Rotation - Initial rotation of this camera.Release - True to release this player from camera mode.public SetCamera()
public SetCamera(SetCamera original)
original - public UnrealId getId()
public Location getLocation()
public Rotation getRotation()
public Boolean isRelease()
public SetCamera setRelease(Boolean Release)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.