![]() |
BlueSkies for Unity
1.8.1
|
Represents a cloud layer. More...
Public Member Functions | |
CloudLayer (ICloudLayerDescriptor descriptor, ulong uid) | |
GameObject | getLayerObject () |
ICloudLayerDescriptor | getLayerDescriptor () |
Vector3 | getLayerPosition () |
void | setLayerPosition (Vector3 position) |
ulong | getUID () |
List< ICloud > | getCloudsInLayer () |
void | update () |
void | destroyLayer () |
void | addCloud (ICloud cloud) |
void | destroyCloud (ulong uid) |
Represents a cloud layer.
BlueSkies.CloudLayer.CloudLayer | ( | ICloudLayerDescriptor | descriptor, |
ulong | uid | ||
) |
Constructor
[in] | descriptor | Layer defined descriptor |
[in] | uid | Layer ID |
void BlueSkies.CloudLayer.addCloud | ( | ICloud | cloud | ) |
void BlueSkies.CloudLayer.destroyCloud | ( | ulong | uid | ) |
Removes the cloud with the specified UID from the layer.
void BlueSkies.CloudLayer.destroyLayer | ( | ) |
Destroy the cloud layer object and all of the contained cloud game objects.
Implements BlueSkies.ICloudLayer.
List<ICloud> BlueSkies.CloudLayer.getCloudsInLayer | ( | ) |
Get the list of clouds that are in the layer.
Implements BlueSkies.ICloudLayer.
ICloudLayerDescriptor BlueSkies.CloudLayer.getLayerDescriptor | ( | ) |
Get the cloud layer's descriptor.
Implements BlueSkies.ICloudLayer.
GameObject BlueSkies.CloudLayer.getLayerObject | ( | ) |
Vector3 BlueSkies.CloudLayer.getLayerPosition | ( | ) |
Get the current position of the cloud layer.
Implements BlueSkies.ICloudLayer.
ulong BlueSkies.CloudLayer.getUID | ( | ) |
Get the unique identification number for the cloud layer.
Implements BlueSkies.ICloudLayer.
void BlueSkies.CloudLayer.setLayerPosition | ( | Vector3 | position | ) |
Sets the current position of the cloud layer.
[in] | position | Position to set. |
Implements BlueSkies.ICloudLayer.
void BlueSkies.CloudLayer.update | ( | ) |
Update the cloud layer.
Implements BlueSkies.ICloudLayer.