Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/en-us/projects/assets/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ end

<span><Chip label='rbxhttp://Thumbs/Avatar.ashx?x=100&y=100&format=png' color='primary' size='large' /></span>

### rbxtemp

`rbxtemp` allows you to refer `Class.File|Files`. Use `Class.File:GetTemporaryId()` to generate a valid `rbxtemp` URL. For example:

<span><Chip label='rbxtemp://1' color='primary' size='large' /></span>

### https / http

`https` or `http` points to the exact location of something on the internet. It only works on Roblox-approved domains and raises an error if you use it elsewhere.
Expand Down
8 changes: 7 additions & 1 deletion content/en-us/reference/engine/datatypes/Content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,18 @@ description: |
<td>Allows for easy loading of thumbnails.</td>
<td>rbxthumb://type=Asset&id=24813339&w=150&h=150</td>
</tr>
<tr>
<tr>
<td><b>rbxhttp</b></td>
<td>A path on the Roblox website</td>
<td>Fetches content from the Roblox website.</td>
<td>rbxhttp://Thumbs/Avatar.ashx?x=100&y=100&format=png</td>
</tr>
<tr>
<td><b>rbxtemp</b></td>
<td>A temporary asset</td>
<td>Loads a temporary asset. Often generated by `Class.File:GetTemporaryId()`.</td>
<td>rbxtemp://1</td>
</tr>
<tr>
<td><b>https</b>/<b>http</b></td>
<td>A website URL</td>
Expand Down
Loading