public void setQueueBucket(RenderQueue.Bucket queueBucket) {
        this.queueBucket = queueBucket;
    }
<code>setQueueBucket</code> determines at what phase of the
rendering process this Spatial will rendered. See the
{@link Bucket} enum for an explanation of the various
render queue buckets.

@param queueBucket
           The bucket to use for this Spatial.
jme3-core/src/main/java/com/jme3/scene/Spatial.java