本文整理汇总了Java中com.jme3.renderer.queue.RenderQueue.Bucket方法的典型用法代码示例。如果您正苦于以下问题:Java RenderQueue.Bucket方法的具体用法?Java RenderQueue.Bucket怎么用?Java RenderQueue.Bucket使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.jme3.renderer.queue.RenderQueue
的用法示例。
在下文中一共展示了RenderQueue.Bucket方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: changeBucketType
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* Handle changing the bucket type.
*/
@FXThread
private void changeBucketType(@NotNull final RenderQueue.Bucket newValue) {
final T editor3DState = getEditor3DState();
editor3DState.changeBucketType(newValue);
final EditorMaterialEditorState editorState = getEditorState();
if (editorState != null) editorState.setBucketType(newValue);
}
示例2: setBucketType
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* Sets bucket type.
*
* @param bucketType the bucket type.
*/
@FXThread
public void setBucketType(@NotNull final RenderQueue.Bucket bucketType) {
final boolean changed = getBucketTypeId() != bucketType.ordinal();
this.bucketTypeId = bucketType.ordinal();
final Runnable changeHandler = getChangeHandler();
if (changed && changeHandler != null) {
changeHandler.run();
}
}
示例3: getQueueBucket
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* Returns this spatial's renderqueue bucket. If the mode is set to inherit,
* then the spatial gets its renderqueue bucket from its parent.
*
* @return The spatial's current renderqueue mode.
*/
public RenderQueue.Bucket getQueueBucket() {
if (queueBucket != RenderQueue.Bucket.Inherit) {
return queueBucket;
} else if (parent != null) {
return parent.getQueueBucket();
} else {
return RenderQueue.Bucket.Opaque;
}
}
示例4: getBucketComboBox
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* @return the list of RenderQueue.Bucket.
*/
@FromAnyThread
private @NotNull ComboBox<RenderQueue.Bucket> getBucketComboBox() {
return notNull(bucketComboBox);
}
示例5: getBucketType
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* Gets bucket type.
*
* @return the bucket type.
*/
@FXThread
public @NotNull RenderQueue.Bucket getBucketType() {
return BUCKETS[bucketTypeId];
}
示例6: setQueueBucket
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* <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.
*/
public void setQueueBucket(RenderQueue.Bucket queueBucket) {
this.queueBucket = queueBucket;
}
示例7: getLocalQueueBucket
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* @return The locally set queue bucket mode
*
* @see Spatial#setQueueBucket(com.jme3.renderer.queue.RenderQueue.Bucket)
*/
public RenderQueue.Bucket getLocalQueueBucket() {
return queueBucket;
}
示例8: setQueueBucket
import com.jme3.renderer.queue.RenderQueue; //导入方法依赖的package包/类
/**
* <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.
*/
public void setQueueBucket(RenderQueue.Bucket queueBucket) {
this.queueBucket = queueBucket;
}