Class FramePrefab
java.lang.Object
dev.prozilla.pine.core.entity.prefab.Prefab
dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
dev.prozilla.pine.core.entity.prefab.ui.FramePrefab
@Components({FrameNode.class,Node.class,Transform.class})
public class FramePrefab
extends NodePrefab
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
absolutePosition, anchor, border, borderImage, borderImageSlice, borderImageSliceFill, classes, color, margin, padding, passThrough, position, size, styleSheet, tooltipText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds this prefab's predefined components to a given entity and copies values from this prefab.void
setBackgroundColor
(Color color) Sets the background color of this node.void
Methods inherited from class dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
addClass, addClasses, setAbsolutePosition, setAnchor, setBackgroundColor, setBorder, setBorderImage, setColor, setColor, setDefaultPropertyValue, setMargin, setMargin, setMargin, setPadding, setPadding, setPadding, setPassThrough, setSize, setSize, setSize, setStyleSheet, setStyleSheet, setTooltipText
Methods inherited from class dev.prozilla.pine.core.entity.prefab.Prefab
instantiate, instantiate, setActive, setName, setTag
-
Field Details
-
fbo
-
backgroundColor
-
-
Constructor Details
-
FramePrefab
public FramePrefab() -
FramePrefab
-
-
Method Details
-
setFrameBufferObject
-
setBackgroundColor
Description copied from class:NodePrefab
Sets the background color of this node.- Overrides:
setBackgroundColor
in classNodePrefab
-
apply
Description copied from class:Prefab
Adds this prefab's predefined components to a given entity and copies values from this prefab.- Overrides:
apply
in classNodePrefab
-