| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeRetained javax.media.j3d.LeafRetained javax.media.j3d.LightRetained javax.media.j3d.PointLightRetained
All known Subclasses: javax.media.j3d.SpotLightRetained,
PointLightRetained | class PointLightRetained extends LightRetained (Code) | | A Retained PointLight source.
|
Method Summary | |
protected Object | clone() | void | doSetLive(SetLiveState s) | void | getAttenuation(Point3f attenuation) Retrieves the light's attenuation and places the value in the parameter
specified. | void | getPosition(Point3f position) Retrieves this light's position and places it in the
vector provided. | void | initAttenuation(Point3f attenuation) Initializes the point light's attenuation constants. | void | initAttenuation(float constant, float linear, float quadratic) Sets the point light's attenuation. | J3dMessage | initMessage(int num) | void | initPosition(Point3f position) Initializes this light's position from the vector provided. | void | initPosition(float x, float y, float z) Initializes this light's position from the three values provided. | void | mergeTransform(TransformGroupRetained xform) | void | sendMessage(int attrMask, Object attr) | void | setAttenuation(Point3f attenuation) Sets the point light's attenuation constants. | void | setAttenuation(float constant, float linear, float quadratic) Sets the point light's attenuation. | void | setLive(SetLiveState s) | void | setPosition(Point3f position) Sets this light's position from the vector provided. | void | setPosition(float x, float y, float z) Sets this light's position from the three values provided. | void | update(Context ctx, int lightSlot, double scale) This update function, and its native counterpart,
updates a point light. | void | updateMirrorObject(Object[] objs) | void | updateTransformChange() | void | validateAttenuationInEc(double vworldToCoexistenceScale) |
ATTENUATION_CHANGED | final static int ATTENUATION_CHANGED(Code) | | |
LAST_POINTLIGHT_DEFINED_BIT | final static int LAST_POINTLIGHT_DEFINED_BIT(Code) | | |
POSITION_CHANGED | final static int POSITION_CHANGED(Code) | | |
attenuation | Point3f attenuation(Code) | | The attenuation vector consisting of
constant, linear, and quadratic coefficients.
|
linearAttenuationInEc | float linearAttenuationInEc(Code) | | |
localToVworldScale | double localToVworldScale(Code) | | |
position | Point3f position(Code) | | |
quadraticAttenuationInEc | float quadraticAttenuationInEc(Code) | | |
xformPosition | Point3f xformPosition(Code) | | |
PointLightRetained | PointLightRetained()(Code) | | |
getAttenuation | void getAttenuation(Point3f attenuation)(Code) | | Retrieves the light's attenuation and places the value in the parameter
specified.
Parameters: attenuation - the variable that will contain the attenuation |
getPosition | void getPosition(Point3f position)(Code) | | Retrieves this light's position and places it in the
vector provided.
Parameters: position - the variable to receive the position vector |
initAttenuation | void initAttenuation(Point3f attenuation)(Code) | | Initializes the point light's attenuation constants.
Parameters: attenuation - a vector consisting of constant, linear, and quadratic coefficients |
initAttenuation | void initAttenuation(float constant, float linear, float quadratic)(Code) | | Sets the point light's attenuation.
Parameters: constant - the point light's constant attenuation Parameters: linear - the linear attenuation of the light Parameters: quadratic - the quadratic attenuation of the light |
initPosition | void initPosition(Point3f position)(Code) | | Initializes this light's position from the vector provided.
Parameters: position - the new position |
initPosition | void initPosition(float x, float y, float z)(Code) | | Initializes this light's position from the three values provided.
Parameters: x - the new x position Parameters: y - the new y position Parameters: z - the new z position |
sendMessage | void sendMessage(int attrMask, Object attr)(Code) | | |
setAttenuation | void setAttenuation(Point3f attenuation)(Code) | | Sets the point light's attenuation constants.
Parameters: attenuation - a vector consisting of constant, linear, and quadratic coefficients |
setAttenuation | void setAttenuation(float constant, float linear, float quadratic)(Code) | | Sets the point light's attenuation.
Parameters: constant - the point light's constant attenuation Parameters: linear - the linear attenuation of the light Parameters: quadratic - the quadratic attenuation of the light |
setPosition | void setPosition(Point3f position)(Code) | | Sets this light's position from the vector provided.
Parameters: position - the new position |
setPosition | void setPosition(float x, float y, float z)(Code) | | Sets this light's position from the three values provided.
Parameters: x - the new x position Parameters: y - the new y position Parameters: z - the new z position |
update | void update(Context ctx, int lightSlot, double scale)(Code) | | This update function, and its native counterpart,
updates a point light. This includes its color, attenuation,
and its transformed position.
|
updateMirrorObject | void updateMirrorObject(Object[] objs)(Code) | | |
updateTransformChange | void updateTransformChange()(Code) | | |
validateAttenuationInEc | void validateAttenuationInEc(double vworldToCoexistenceScale)(Code) | | |
Methods inherited from javax.media.j3d.NodeRetained | void clearLive(SetLiveState s)(Code)(Java Doc) void computeCombineBounds(Bounds bounds)(Code)(Java Doc) void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)(Java Doc) void dirtyBoundsCache()(Code)(Java Doc) void doSetLive(SetLiveState s)(Code)(Java Doc) public int equal(NnuId obj)(Code)(Java Doc) void findCollidableFlags(boolean collide)(Code)(Java Doc) void findPickableFlags(boolean pick)(Code)(Java Doc) void findTransformLevels(int transformLevels)(Code)(Java Doc) Bounds getBounds()(Code)(Java Doc) boolean getBoundsAutoCompute()(Code)(Java Doc) boolean getCollidable()(Code)(Java Doc) Transform3D getCurrentLocalToVworld()(Code)(Java Doc) Transform3D getCurrentLocalToVworld(int index)(Code)(Java Doc) Transform3D getCurrentLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getEffectiveBounds()(Code)(Java Doc) public int getId()(Code)(Java Doc) Transform3D getLastLocalToVworld()(Code)(Java Doc) Transform3D getLastLocalToVworld(int index)(Code)(Java Doc) Transform3D getLastLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc) void getLocalToVworld(Transform3D t)(Code)(Java Doc) void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc) void getLocalToVworld(Transform3D t, HashKey key)(Code)(Java Doc) Locale getLocale()(Code)(Java Doc) NodeRetained getParent()(Code)(Java Doc) boolean getPickable()(Code)(Java Doc) VirtualUniverse getVirtualUniverse()(Code)(Java Doc) boolean isStatic()(Code)(Java Doc) void merge(CompileState compState)(Code)(Java Doc) void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc) void notifySceneGraphChanged(boolean globalTraverse)(Code)(Java Doc) int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)(Java Doc) void recombineAbove()(Code)(Java Doc) void removeNodeData(SetLiveState s)(Code)(Java Doc) void searchGeometryAtoms(UnorderList list)(Code)(Java Doc) void setAuxData(SetLiveState s, int index, int hkIndex)(Code)(Java Doc) void setBounds(Bounds bounds)(Code)(Java Doc) void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc) void setCollidable(boolean collidable)(Code)(Java Doc) void setLive(SetLiveState s)(Code)(Java Doc) void setNodeData(SetLiveState s)(Code)(Java Doc) void setParent(NodeRetained parent)(Code)(Java Doc) void setPickable(boolean pickable)(Code)(Java Doc) void transformBounds(SceneGraphPath path, Bounds bound)(Code)(Java Doc) void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc) synchronized void updateLocalToVworld()(Code)(Java Doc) void updatePickable(HashKey pickKeys, boolean pick)(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|