Skip to content

Commit

Permalink
update Open Source Docs from Roblox internal teams
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx-open-source-docs[bot] committed Jan 16, 2025
1 parent 4a90383 commit 962e2b6
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 13 deletions.
2 changes: 1 addition & 1 deletion content/en-us/cloud/open-cloud/usage-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Updating asset metadata using the **Update Asset** endpoint is not subject to th
<li>Up to 30 seconds of duration.</li>
<li>Up to 4096x2160 resolution.</li>
<li>Up to 375 MB.</li>
<li>Currently, only English and/or Spanish audio and text is allowed.</li>
<li>Currently, only English, Spanish, Portuguese, Indonesian, Chinese (simplified and traditional), Japanese, and/or Korean audio and text are allowed.</li>
<li>Up to 3 uploads per month if you're 13+ and ID-verified.</li>
</ul>
</td>
Expand Down
40 changes: 34 additions & 6 deletions content/en-us/reference/engine/classes/EditableImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,22 +183,50 @@ methods:
capabilities: []
writeCapabilities: []
- name: EditableImage:DrawImageProjected
summary: ''
description: ''
summary: |
Projects another `Class.EditableImage` into an `Class.EditableMesh` and
stores the result on this `Class.EditableImage`.
description: |
Projects another `Class.EditableImage` into an `Class.EditableMesh` and
stores the result on this `Class.EditableImage` by using the specified
projection and brush configuration.
code_samples: []
parameters:
- name: mesh
type: Object
type: EditableMesh
default:
summary: ''
summary: |
The `Class.EditableMesh` used to project into.
- name: projection
type: Dictionary
default:
summary: ''
summary: |
Projection configuration dictionary including the following
key-value pairs:
- `Direction` (`Datatype.Vector3`) where the projector is facing.
- `Position` (`Datatype.Vector3`) as the position in local space
with respect to the mesh.
- `Size` (`Datatype.Vector3`) as the size of the projector.
- `Up` (`Datatype.Vector3`) as the up vector of the projector in
local space with respect to the mesh.
- name: brushConfig
type: Dictionary
default:
summary: ''
summary: |
Brush configuration dictionary including the following key-value
pairs:
- `AlphaBlendType` (`Enum.ImageAlphaType`) which determines how
this projection will blend alpha values.
- `ColorBlendType` (`Enum.ImageCombineType`) which determines
how this projection will blend color values.
- `Decal` (`Class.EditableImage`) as the image used for projection.
- `FadeAngle` (number) as the angle in degrees for the projection
edges to fall off.
- `BlendIntensity` (number) as the value between `0` and `1` which
controls how much of the projection is blended into the resulting
image.
returns:
- type: void
summary: ''
Expand Down
16 changes: 11 additions & 5 deletions content/en-us/reference/engine/enums/ImageAlphaType.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
name: ImageAlphaType
type: enum
summary: ''
description: ''
summary: |
Enum for determining if the alpha or color is locked while combining two images.
description: |
Enum for determining if the alpha or color is locked while combining two images.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Default
summary: ''
summary: |
The default behavior in which neither color nor alpha values are locked.
value: 1
tags: []
deprecation_message: ''
- name: LockCanvasAlpha
summary: ''
summary: |
The alpha values of the image will not be modified.
value: 2
tags: []
deprecation_message: ''
- name: LockCanvasColor
summary: ''
summary: |
The color values of the image will not be modified.
value: 3
tags: []
deprecation_message: ''

2 changes: 1 addition & 1 deletion content/en-us/ui/video-frames.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To upload video assets, you must be a 13+ [ID verified](https://en.help.roblox.c
- It's 30 seconds or less in either `.mp4` or `.mov` format.
- Its resolution is less than or equal to 4096&times;2160.
- It's less than 375 MB.
- It includes only English and/or Spanish audio and text (additional languages will be supported at a later date).
- It includes only English, Spanish, Portuguese, Indonesian, Chinese (simplified and traditional), Japanese, and/or Korean audio and text.

Videos that don't meet these requirements are rejected. Alpha channels are not supported and will be ignored. When uploading videos, consider the following:

Expand Down

0 comments on commit 962e2b6

Please sign in to comment.