-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from indexxing/master
Document `InsertService` Static Class
- Loading branch information
Showing
5 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: GradientSky | ||
description: GradientSky is a class that is used to set a gradient skybox in the world. | ||
icon: polytoria/Unknown | ||
--- | ||
|
||
# GradientSky | ||
|
||
:polytoria-Unknown: GradientSky is a class that is used to set a gradient skybox in the world. | ||
|
||
## Properties | ||
|
||
### HorizonLineColor:Color { property } | ||
|
||
Determines the horizon line's color. | ||
|
||
### HorizonLineExponent:int { property } | ||
|
||
Determines the horizon line's exponent. | ||
|
||
### HorizonLineContribution:int { property } | ||
|
||
Determines how much the horizon line contributes. | ||
|
||
### SkyGradientTop:Color { property } | ||
|
||
Determines the top color of the gradient. | ||
|
||
### SkyGradientBottom:Color { property } | ||
|
||
Determines the bottom color of the gradient. | ||
|
||
### SkyGradientExponent:int { property } | ||
|
||
Determines the gradient's exponent. | ||
|
||
### SunDiscColor:Color { property } | ||
|
||
Determines the color emitting off the sun. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: Insert | ||
description: Insert is a class used for inserting user-generated models into your game via scripts. | ||
icon: polytoria/Insert | ||
--- | ||
|
||
:polytoria-Insert: Insert is a class used for inserting user-generated models into your game via scripts. | ||
|
||
## Methods | ||
|
||
### Model(modelID;int,callback;func=nil) { method } | ||
|
||
Inserts the specified model ID into your game, with an optional callback for when the model successfully loads. | ||
|
||
**Example:** | ||
|
||
```lua | ||
-- Loads the tree model associated with that ID | ||
Insert:Model(739) | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.