Class Info |
|---|
public class Renderable extends Component A Renderable component class. |
Qualifier and Type | Method Name and Description |
|---|---|
public static Component.Descriptor<Renderable> | Obtains the Renderable component descriptor. |
public boolean | Checks whether a Renderable component casts shadows on others. |
public boolean | Checks whether a Renderable component receives shadows cast by others. |
public Renderable | setCastShadow(boolean enable) Sets whether a Renderable component casts shadows on others. |
public Renderable | setReceiveShadow(boolean enable) Sets whether a Renderable component receives shadows cast by others. |
public Box | Obtains the bounding box. |
Method |
|---|
public static Component.Descriptor<Renderable> descriptor() Obtains the Renderable component descriptor. |
Returns
Type | Description |
|---|---|
Component.Descriptor<Renderable> | Renderable component descriptor. |
Method |
|---|
public boolean isShadowCaster() Checks whether a Renderable component casts shadows on others. |
Returns
Type | Description |
|---|---|
boolean | Whether a Renderable component casts shadows on others. |
Method |
|---|
public boolean isShadowReceiver() Checks whether a Renderable component receives shadows cast by others. |
Returns
Type | Description |
|---|---|
boolean | Whether a Renderable component receives shadows cast by others. |
Method |
|---|
public Renderable setCastShadow(boolean enable) Sets whether a Renderable component casts shadows on others. |
Parameters
Name | Description |
|---|---|
enable | Indicates whether a Renderable component casts shadows on others. |
Returns
Type | Description |
|---|---|
Renderable | Instance of this class. |
Method |
|---|
public Renderable setReceiveShadow(boolean enable) Sets whether a Renderable component receives shadows cast by others. |
Parameters
Name | Description |
|---|---|
enable | Indicates whether a Renderable component receives shadows cast by others. |
Returns
Type | Description |
|---|---|
Renderable | Instance of this class. |
Method |
|---|
public Box getBoundingBox() Obtains the bounding box. |
Returns
Type | Description |
|---|---|
Box | Bounding box. |