All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.MovieTexture
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.Texture
|
+----vlc.vrml.external.geometry.MovieTexture
- public class MovieTexture
- extends Texture
- implements AudioNode
JVerge
- Version:
- 0.8 (beta 4)
Copyright 1997
The Virtual Light Company
under the
GNU LGPL
The latest information and bugs in JVerge can be found at
http://www.vlc.com.au/JVerge
For definition of the Anchor node please see the
VRML 97 Anchor specification
- Author:
- Justin Couch justin@vlc.com.au
-
MovieTexture()
- Default Constructor.
-
MovieTexture(boolean, boolean)
- Constructor used when you don't want to use the default settings for the
texture repeating.
-
MovieTexture(Browser)
- Default Constructor when you wish to supply your own Browser reference.
-
MovieTexture(Browser, boolean, boolean)
- Constructor used when you don't want to use the default settings for the
texture repeating.
-
cleanup()
- Call when about to remove the node from the scenegraph.
-
clone()
- Make a clone of this object
-
createFields()
-
-
get_duration_changed()
- Get the last value that appeared on the duration_changed eventOut
-
get_isActive()
- Get the last value that appeared on the isActive eventOut.
-
get_loop()
- Get the current looping condition for this node
-
get_speed()
- Get the speed that the movie is currently ruuning at.
-
get_startTime()
- Get the current starting time of this AudioClip
-
get_stopTime()
- Get the current stopping time of this AudioClip
-
get_url()
- Get the array of URLs that this node uses as source files.
-
set_loop(boolean)
- Set whether this clip should loop its output
-
set_speed(float)
- Set the speed that the movie is to run at.
-
set_startTime(double)
- Set the time at which the AudioClip is to start running
-
set_stopTime(double)
- Set the time at which the AudioClip is to stop running
-
set_url(String[])
- Set the URL/URNs that this node uses as the source of the movie.
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
MovieTexture
public MovieTexture()
- Default Constructor. Creates a default MovieTexture
MovieTexture
public MovieTexture(Browser b)
- Default Constructor when you wish to supply your own Browser reference.
Creates a default MovieTexture
MovieTexture
public MovieTexture(boolean rptS,
boolean rptT)
- Constructor used when you don't want to use the default settings for the
texture repeating.
- Parameters:
- rptS - true if to repeat in the S direction.
- rptT - true if to repeat in the T direction.
MovieTexture
public MovieTexture(Browser b,
boolean rptS,
boolean rptT)
- Constructor used when you don't want to use the default settings for the
texture repeating. You need to supply a Browser reference
- Parameters:
- b - A valid Browser reference.
- rptS - true if to repeat in the S direction.
- rptT - true if to repeat in the T direction.
createFields
public void createFields()
cleanup
public void cleanup()
- Call when about to remove the node from the scenegraph.
- Overrides:
- cleanup in class VrmlObject
writeToStream
public void writeToStream(int indent)
- Prints the formatted contents of this node to the given stream.
- Parameters:
- indent - The number of spaces to indent this node in the string
- Overrides:
- writeToStream in class VrmlObject
set_url
public void set_url(String url[])
- Set the URL/URNs that this node uses as the source of the movie.
These can be any accepted form that the standard URL/URN
representations permit.
- Parameters:
- urls - An array of the URL strings
get_url
public String[] get_url()
- Get the array of URLs that this node uses as source files.
- Returns:
- The URL/URNs one per string
set_loop
public void set_loop(boolean val)
- Set whether this clip should loop its output
- Parameters:
- val - true if the output is to loop, false if not
get_loop
public boolean get_loop()
- Get the current looping condition for this node
- Returns:
- true if the node is set to loop, false if not.
set_speed
public void set_speed(float val)
- Set the speed that the movie is to run at. A value is a relative
mulitplication of the basic speed. A Value of 2 will make the movie
play twice as fast.
- Parameters:
- val - the speed to play at
get_speed
public float get_speed()
- Get the speed that the movie is currently ruuning at.
- Returns:
- the playing speed
set_startTime
public void set_startTime(double val)
- Set the time at which the AudioClip is to start running
- Parameters:
- The - start time in seconds
get_startTime
public double get_startTime()
- Get the current starting time of this AudioClip
- Returns:
- The current start time in seconds
set_stopTime
public void set_stopTime(double val)
- Set the time at which the AudioClip is to stop running
- Parameters:
- The - stop time in seconds
get_stopTime
public double get_stopTime()
- Get the current stopping time of this AudioClip
- Returns:
- The current stop time in seconds
get_duration_changed
public float get_duration_changed()
- Get the last value that appeared on the duration_changed eventOut
- Returns:
- A value representing what the current duration is in seconds
get_isActive
public boolean get_isActive()
- Get the last value that appeared on the isActive eventOut.
- Returns:
- True if the node is active, false if not.
clone
public Object clone()
- Make a clone of this object
- Returns:
- A deep clone copy of this object
- Overrides:
- clone in class VrmlObject
All Packages Class Hierarchy This Package Previous Next Index