Package com.anylogic.engine.presentation
- Nested Class Summary
- Nested classes/interfaces inherited from class com.anylogic.engine.presentation.Light3D
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.presentation.Light3DPoint
- Methods inherited from class com.anylogic.engine.presentation.Light3D
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement
- Constructor Detail
- Method Detail
- java.lang.Object
-
- com.anylogic.engine.presentation.Light3D
-
- com.anylogic.engine.presentation.Light3DPoint
-
- com.anylogic.engine.presentation.Light3D.StreetLight
- All Implemented Interfaces:
com.anylogic.engine.internal.Child
,AggregatableAnimationElement
,HasLevel
,LevelElement
,SVGElement
,java.io.Serializable
,java.lang.Cloneable
- Enclosing class:
- Light3D
public static class Light3D.StreetLight extends Light3DPoint
- See Also:
- Serialized Form
Light3D.CarHeadlight, Light3D.Daylight, Light3D.Moonlight, Light3D.StreetLight
StreetLight(double x,
double y,
double z) |
|
StreetLight(java.awt.Color baseColor,
double x,
double y,
double z,
boolean ispublic,
boolean global) |
|
Constructor | Description |
---|
Level |
getLevel() |
Returns the level containing this shape.
|
void |
restoreOwner(java.lang.Object owner) |
Deprecated.
|
void |
setContextReference_xjal(Presentable contextReference) |
Deprecated.
|
void |
setLevel(Level level) |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
boolean |
updateDynamicPropertiesStructural(boolean publicOnly) |
|
Modifier and Type | Method | Description |
---|
clone, getConstantAttenuation, getLinearAttenuation, getQuadraticAttenuation, getX, getY, getZ, setAttenuation, setConstantAttenuation, setLinearAttenuation, setPos, setQuadraticAttenuation, setX, setY, setZ
executeUserAction, findSVGElement, getAmbientColor, getDiffuseColor, getGroup, getName, getPresentable, getSpecularColor, getSVGId, isEnabled, isGlobal, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setAmbientColor, setDiffuseColor, setEnabled, setGlobal, setSpecularColor, update, updateSVGProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeInternal, postInitialize
public StreetLight(double x, double y, double z)
public StreetLight(java.awt.Color baseColor, double x, double y, double z, boolean ispublic, boolean global)
@AnyLogicInternalAPI public boolean updateDynamicPropertiesStructural(boolean publicOnly)
- Returns:
true
if update was done (usually for visible elements, respecting public flag etc.)
public Level getLevel()
Returns the level containing this shape.
The returned value is
null
for shapes in the experiments.@AnyLogicInternalAPI public void setLevel(Level level)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. Please use
it may be removed/renamed in future. Please use
Level#add(Shape)
instead.- Specified by:
setLevel
in interfaceLevelElement
@AnyLogicInternalCodegenAPI @Deprecated public final void restoreOwner(java.lang.Object owner)
Deprecated.
This method normally should not be called by user
This method restores owner of this object
The method is used in snapshot saving/loading
This method restores owner of this object
The method is used in snapshot saving/loading
- Specified by:
restoreOwner
in interfacecom.anylogic.engine.internal.Child
- Parameters:
owner
- owner of this object, usuallyAgent
,Experiment
orShapeGroup
@AnyLogicInternalAPI @Deprecated public void setContextReference_xjal(Presentable contextReference)
Deprecated.
-
How can we improve this article?
-