|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.objects.Marker
public class Marker
A marker is a point in space with orientation and properties. Markers are placed using the WorldEditor tool.
| Field Summary | |
|---|---|
static ObjectType |
OBJECT_TYPE
Marker object type. |
static long |
PROP_ALL
Get all marker information (search selection flag). |
static long |
PROP_ORIENTATION
Get the marker orientation (search selection flag). |
static long |
PROP_POINT
Get the marker location (search selection flag). |
static long |
PROP_PROPERTIES
Get the marker properties (search selection flag). |
| Constructor Summary | |
|---|---|
Marker()
|
|
Marker(Point point)
|
|
Marker(Point point,
Quaternion orient)
Create a marker. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Copy this marker. |
Quaternion |
getOrientation()
Get marker orientation. |
Point |
getPoint()
Get marker location. |
java.io.Serializable |
getProperty(java.lang.String key)
Get property value. |
java.util.Map<java.lang.String,java.io.Serializable> |
getPropertyMapRef()
Get the property map. |
void |
setOrientation(Quaternion orient)
Set marker orientation. |
void |
setPoint(Point point)
Set marker location. |
void |
setProperties(java.util.Map<java.lang.String,java.io.Serializable> props)
Set the marker property map. |
java.io.Serializable |
setProperty(java.lang.String key,
java.io.Serializable value)
Set property value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long PROP_POINT
public static final long PROP_ORIENTATION
public static final long PROP_PROPERTIES
public static final long PROP_ALL
public static final ObjectType OBJECT_TYPE
| Constructor Detail |
|---|
public Marker()
public Marker(Point point)
public Marker(Point point,
Quaternion orient)
point - Marker location.orient - Marker orientation.| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic Point getPoint()
public void setPoint(Point point)
public Quaternion getOrientation()
public void setOrientation(Quaternion orient)
public java.io.Serializable getProperty(java.lang.String key)
key - Property name
setProperty(String, Serializable)
public java.io.Serializable setProperty(java.lang.String key,
java.io.Serializable value)
key - Property name.value - Property value.
public java.util.Map<java.lang.String,java.io.Serializable> getPropertyMapRef()
public void setProperties(java.util.Map<java.lang.String,java.io.Serializable> props)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||