atavism.server.objects
Class DirectionalLight
java.lang.Object
atavism.server.objects.NamedPropertyClass
atavism.server.objects.Entity
atavism.server.objects.AOObject
atavism.server.objects.Light
atavism.server.objects.DirectionalLight
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class DirectionalLight
- extends Light
a point light, by default it is a point light source.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
clone()
|
java.lang.String |
toString()
Returns the string describing this entity, useful for logging. |
Methods inherited from class atavism.server.objects.AOObject |
atavismID, atavismID, baseWorldNode, displayContext, displayContext, getAllObjects, getCurrentLoc, getDirection, getDirLocOrientTime, getLoc, getMasterOid, getObjCreateHook, getObject, getOrientation, getState, isItem, isLight, isMob, isStructure, isUser, perceiver, perceiver, permissionCallback, permissionCallback, readObject, registerObjCreateHook, scale, scale, scale, sendEvent, setState, worldNode, worldNode, writeObject, writeString |
Methods inherited from class atavism.server.objects.Entity |
addSubObjectNamespace, equals, equals, getLock, getNamespace, getOid, getPersistenceFlag, getProperty, getSubObjectNamespaces, getSubObjectNamespacesInt, getTransientDataRef, hashCode, hasSubObjectNamespace, isDeleted, registerTransientPropertyKey, removeProperty, removeSubObjectNamespace, setDeleted, setNamespace, setOid, setPersistenceFlag, setProperty, setSubObjectNamespaces, setSubObjectNamespacesInt, setType, toBytes, unregisterTransientPropertyKey |
Methods inherited from class atavism.server.objects.NamedPropertyClass |
getBooleanProperty, getIntProperty, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlock |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
DirectionalLight
public DirectionalLight()
DirectionalLight
public DirectionalLight(java.lang.String name)
DirectionalLight
public DirectionalLight(java.lang.String name,
Color diffuse,
Color specular,
float attenuationRange,
float attenuationConstant,
float attenuationLinear,
float attenuationQuadradic,
Quaternion orientation)
- long constructor
toString
public java.lang.String toString()
- Description copied from class:
Entity
- Returns the string describing this entity, useful for logging.
- Overrides:
toString
in class Light
- Returns:
- string describing entity
clone
public java.lang.Object clone()
- Overrides:
clone
in class Light