Atavism Version 2018.1AGIS API

atavism.server.objects
Class PointLight

java.lang.Object
  extended by atavism.server.objects.NamedPropertyClass
      extended by atavism.server.objects.Entity
          extended by atavism.server.objects.AOObject
              extended by atavism.server.objects.Light
                  extended by atavism.server.objects.PointLight
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PointLight
extends Light

a point light, by default it is a point light source.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class atavism.server.objects.Light
Light.LightType
 
Nested classes/interfaces inherited from class atavism.server.objects.AOObject
AOObject.StateMap
 
Field Summary
 
Fields inherited from class atavism.server.objects.Light
LightDataPropertyKey
 
Fields inherited from class atavism.server.objects.AOObject
aoidKey, dcKey, perceiverKey, stateMapKey, transferLock, wnodeKey
 
Fields inherited from class atavism.server.objects.Entity
log, staticLock, subObjectNamespacesInt, transientPropertyKeys, type
 
Fields inherited from class atavism.server.objects.NamedPropertyClass
lock, name
 
Constructor Summary
PointLight()
           
PointLight(java.lang.String name)
           
PointLight(java.lang.String name, Color diffuse, Color specular, float attenuationRange, float attenuationConstant, float attenuationLinear, float attenuationQuadradic)
          long constructor
 
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.Light
getAttenuationConstant, getAttenuationLinear, getAttenuationQuadradic, getAttenuationRange, getDiffuse, getLightData, getName, getSpecular, getType, setLightData
 
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
 

Constructor Detail

PointLight

public PointLight()

PointLight

public PointLight(java.lang.String name)

PointLight

public PointLight(java.lang.String name,
                  Color diffuse,
                  Color specular,
                  float attenuationRange,
                  float attenuationConstant,
                  float attenuationLinear,
                  float attenuationQuadradic)
long constructor

Method Detail

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


Copyright © 2018 Dragonsan Studios Sp. z o.o.