Use [codeblock lang=text] more often in class ref
This commit is contained in:
parent
dc91479082
commit
328b00774b
15 changed files with 46 additions and 46 deletions
|
|
@ -2576,7 +2576,7 @@
|
|||
<description>
|
||||
Set the entire data to use for drawing the [param multimesh] at once to [param buffer] (such as instance transforms and colors). [param buffer]'s size must match the number of instances multiplied by the per-instance data size (which depends on the enabled MultiMesh fields). Otherwise, an error message is printed and nothing is rendered. See also [method multimesh_get_buffer].
|
||||
The per-instance data size and expected data order is:
|
||||
[codeblock]
|
||||
[codeblock lang=text]
|
||||
2D:
|
||||
- Position: 8 floats (8 floats for Transform2D)
|
||||
- Position + Vertex color: 12 floats (8 floats for Transform2D, 4 floats for Color)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue