/** * Mark this node as dirty. Can be marked as Transform, Bounding, Attached, Detached, Destroyed or RenderState * * @param dirtyType * the dirty type */ public void markDirty(final DirtyType dirtyType) { markDirty(this, dirtyType); }
/** * Mark this node as dirty. Can be marked as Transform, Bounding, Attached, Detached, Destroyed or RenderState * * @param dirtyType * the dirty type */ public void markDirty(final DirtyType dirtyType) { markDirty(this, dirtyType); }
/** * <code>setScale</code> sets the scale of this spatial. This marks the spatial as DirtyType.Transform. * * @param scale * the new scale of this spatial */ public void setScale(final ReadOnlyVector3 scale) { _localTransform.setScale(scale); markDirty(DirtyType.Transform); }
/** * <code>setTranslation</code> sets the translation of this spatial. This marks the spatial as DirtyType.Transform. * * @param translation * the new translation of this spatial */ public void setTranslation(final ReadOnlyVector3 translation) { _localTransform.setTranslation(translation); markDirty(DirtyType.Transform); }
/** * Sets the rotation of this spatial. This marks the spatial as DirtyType.Transform. * * @param rotation * the new rotation of this spatial * @see Transform#setRotation(Matrix3) */ public void setRotation(final ReadOnlyMatrix3 rotation) { _localTransform.setRotation(rotation); markDirty(DirtyType.Transform); }
/** * Sets the local transform. * * @param transform * the new transform */ public void setTransform(final ReadOnlyTransform transform) { _localTransform.set(transform); markDirty(DirtyType.Transform); }
/** * <code>setScale</code> sets the scale of this spatial. This marks the spatial as DirtyType.Transform. * * @param scale * the new scale of this spatial */ public void setScale(final double scale) { _localTransform.setScale(scale); markDirty(DirtyType.Transform); }
/** * Sets the rotation of this spatial. This marks the spatial as DirtyType.Transform. * * @param rotation * the new rotation of this spatial * @see Transform#setRotation(Quaternion) */ public void setRotation(final ReadOnlyQuaternion rotation) { _localTransform.setRotation(rotation); markDirty(DirtyType.Transform); }
/** * Sets the rotation of this spatial. This marks the spatial as DirtyType.Transform. * * @param rotation * the new rotation of this spatial * @see Transform#setRotation(Matrix3) */ public void setRotation(final ReadOnlyMatrix3 rotation) { _localTransform.setRotation(rotation); markDirty(DirtyType.Transform); }
/** * Clears a given render state index by setting it to null. * * @param type * The type of RenderState to clear */ public void clearRenderState(final RenderState.StateType type) { _renderStateList.remove(type); markDirty(DirtyType.RenderState); }
/** * <code>setScale</code> sets the scale of this spatial. This marks the spatial as DirtyType.Transform. * * @param scale * the new scale of this spatial */ public void setScale(final double scale) { _localTransform.setScale(scale); markDirty(DirtyType.Transform); }
/** * <code>setTranslation</code> sets the translation of this spatial. This marks the spatial as DirtyType.Transform. * * @param translation * the new translation of this spatial */ public void setTranslation(final ReadOnlyVector3 translation) { _localTransform.setTranslation(translation); markDirty(DirtyType.Transform); }
/** * Sets the local transform. * * @param transform * the new transform */ public void setTransform(final ReadOnlyTransform transform) { _localTransform.set(transform); markDirty(DirtyType.Transform); }
/** * <code>setScale</code> sets the scale of this spatial. This marks the spatial as DirtyType.Transform. * * @param scale * the new scale of this spatial */ public void setScale(final ReadOnlyVector3 scale) { _localTransform.setScale(scale); markDirty(DirtyType.Transform); }
/** * Sets the rotation of this spatial. This marks the spatial as DirtyType.Transform. * * @param rotation * the new rotation of this spatial * @see Transform#setRotation(Quaternion) */ public void setRotation(final ReadOnlyQuaternion rotation) { _localTransform.setRotation(rotation); markDirty(DirtyType.Transform); }
/** * Clears a given render state index by setting it to null. * * @param type * The type of RenderState to clear */ public void clearRenderState(final RenderState.StateType type) { _renderStateList.remove(type); markDirty(DirtyType.RenderState); }
/** * sets the scale of this spatial. This marks the spatial as DirtyType.Transform. * * @param x * the x scale factor * @param y * the y scale factor * @param z * the z scale factor */ public void setScale(final double x, final double y, final double z) { _localTransform.setScale(x, y, z); markDirty(DirtyType.Transform); }
/** * adds to the current translation of this spatial. This marks the spatial as DirtyType.Transform. * * @param x * the x amount * @param y * the y amount * @param z * the z amount */ public void addTranslation(final double x, final double y, final double z) { _localTransform.translate(x, y, z); markDirty(DirtyType.Transform); }
/** * sets the translation of this spatial. This marks the spatial as DirtyType.Transform. * * @param x * the x coordinate * @param y * the y coordinate * @param z * the z coordinate */ public void setTranslation(final double x, final double y, final double z) { _localTransform.setTranslation(x, y, z); markDirty(DirtyType.Transform); }
/** * adds to the current translation of this spatial. This marks the spatial as DirtyType.Transform. * * @param x * the x amount * @param y * the y amount * @param z * the z amount */ public void addTranslation(final double x, final double y, final double z) { _localTransform.translate(x, y, z); markDirty(DirtyType.Transform); }