public abstract class CameraAttachment extends Attachment implements ICamera
Abstract base for creating Camera implementations, which control how the scene is viewed in a GeometryViewer.
Constructor and Description |
---|
CameraAttachment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
boolean |
isSingleton()
If the attachment is a singleton, only a single instance of the
attachment can be attached to any given node.
|
void |
setName(java.lang.String name)
Sets the name of the camera.
|
attach, detach, getOwner
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public boolean isSingleton()
IAttachment
If the attachment is a singleton, only a single instance of the attachment can be attached to any given node.
isSingleton
in interface IAttachment
isSingleton
in class Attachment
IAttachment.isSingleton()
public java.lang.String getName()
ICamera#getName()
public void setName(java.lang.String name)
Sets the name of the camera.
name
- the new name of this camera.