A scene that displays CosPlay logo with shimmering colors for a few seconds using slide in and slide out shaders.
Value parameters
bgPx
Background pixel of the scene.
colors
Logo will shimmer with these colors. Typically, these should be the game's primary colors.
dim
Optional dimension of the scene. Note that if dimension is None then scene will adapt to the terminal dimension on each frame. That means that the scene's canvas on which all scene objects are rendered can change its size from frame to frame. In such case, make sure that all scene objects take this into account in their rendering routines.
id
ID of the scene.
nextSc
ID of the next scene to switch to once this scene has finished its shimmering logo effect.
shimmerKeyFrame
Optional shimmer shader keyframe. Default value is 2.
slideInDir
Slide in direction. Default value is CPSlideDirection.LEFT_TO_RIGHT.
slideInMs
Optional slide in duration in milliseconds. Default value is 2000.
slideOutDir
Slide out direction. Default value is CPSlideDirection.LEFT_TO_RIGHT.
slideOutMs
Optional slide out duration in milliseconds. Default value is 1000.
It is reflexive: for any instance x of type Any, x.equals(x) should return true.
It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).
Value parameters
that
the object to compare against this object for equality.
Attributes
Returns
true if the receiver object is equivalent to the argument; false otherwise.
Gets mutable camera panning descriptor associated with this scene. By default, the camera panning is not attached to any scene object. You need to configure the returning camera descriptor if you need camera tracking.
Gets mutable camera panning descriptor associated with this scene. By default, the camera panning is not attached to any scene object. You need to configure the returning camera descriptor if you need camera tracking.