summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_construct.h
Commit message (Collapse)AuthorAgeFilesLines
* [GDExtension] Implement support for typed arrays.bruvzg2022-09-221-0/+76
|
* Implement Vector4, Vector4i, Projectionreduz2022-07-231-0/+3
| | | | | | | | | | | | | Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
* Merge pull request #56167 from cdemirer/constructor-toarray-fixRémi Verschelde2022-05-111-2/+2
|\
| * Fix array variant reuse in constructorcdemirer2022-01-261-2/+2
| |
* | Refactor Object metadatareduz2022-03-241-4/+2
| | | | | | | | | | | | | | | | | | * API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change. * Metadata now exposed as individual properties. * Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace. * Added the ability to Add/Remove metadata properties to the inspector. This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Make some variant internal functions public.reduz2021-06-171-0/+572
-Make constructors, ops and setget inline functions public -Should help optimizing the GDScript VM