Merge pull request #32313 from YeldhamDev/format_args_values
Better format arguments in variant parser
This commit is contained in:
commit
86aff37722
|
@ -1423,47 +1423,47 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
} break;
|
||||
case Variant::VECTOR2: {
|
||||
Vector2 v = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Vector2( " + rtosfix(v.x) + ", " + rtosfix(v.y) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Vector2(" + rtosfix(v.x) + ", " + rtosfix(v.y) + ")");
|
||||
} break;
|
||||
case Variant::VECTOR2I: {
|
||||
Vector2i v = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Vector2i( " + itos(v.x) + ", " + itos(v.y) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Vector2i(" + itos(v.x) + ", " + itos(v.y) + ")");
|
||||
} break;
|
||||
case Variant::RECT2: {
|
||||
Rect2 aabb = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Rect2( " + rtosfix(aabb.position.x) + ", " + rtosfix(aabb.position.y) + ", " + rtosfix(aabb.size.x) + ", " + rtosfix(aabb.size.y) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Rect2(" + rtosfix(aabb.position.x) + ", " + rtosfix(aabb.position.y) + ", " + rtosfix(aabb.size.x) + ", " + rtosfix(aabb.size.y) + ")");
|
||||
|
||||
} break;
|
||||
case Variant::RECT2I: {
|
||||
Rect2i aabb = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Rect2i( " + itos(aabb.position.x) + ", " + itos(aabb.position.y) + ", " + itos(aabb.size.x) + ", " + itos(aabb.size.y) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Rect2i(" + itos(aabb.position.x) + ", " + itos(aabb.position.y) + ", " + itos(aabb.size.x) + ", " + itos(aabb.size.y) + ")");
|
||||
|
||||
} break;
|
||||
case Variant::VECTOR3: {
|
||||
Vector3 v = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Vector3( " + rtosfix(v.x) + ", " + rtosfix(v.y) + ", " + rtosfix(v.z) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Vector3(" + rtosfix(v.x) + ", " + rtosfix(v.y) + ", " + rtosfix(v.z) + ")");
|
||||
} break;
|
||||
case Variant::VECTOR3I: {
|
||||
Vector3i v = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Vector3i( " + itos(v.x) + ", " + itos(v.y) + ", " + itos(v.z) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Vector3i(" + itos(v.x) + ", " + itos(v.y) + ", " + itos(v.z) + ")");
|
||||
} break;
|
||||
case Variant::PLANE: {
|
||||
Plane p = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Plane( " + rtosfix(p.normal.x) + ", " + rtosfix(p.normal.y) + ", " + rtosfix(p.normal.z) + ", " + rtosfix(p.d) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Plane(" + rtosfix(p.normal.x) + ", " + rtosfix(p.normal.y) + ", " + rtosfix(p.normal.z) + ", " + rtosfix(p.d) + ")");
|
||||
|
||||
} break;
|
||||
case Variant::AABB: {
|
||||
AABB aabb = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "AABB( " + rtosfix(aabb.position.x) + ", " + rtosfix(aabb.position.y) + ", " + rtosfix(aabb.position.z) + ", " + rtosfix(aabb.size.x) + ", " + rtosfix(aabb.size.y) + ", " + rtosfix(aabb.size.z) + " )");
|
||||
p_store_string_func(p_store_string_ud, "AABB(" + rtosfix(aabb.position.x) + ", " + rtosfix(aabb.position.y) + ", " + rtosfix(aabb.position.z) + ", " + rtosfix(aabb.size.x) + ", " + rtosfix(aabb.size.y) + ", " + rtosfix(aabb.size.z) + ")");
|
||||
|
||||
} break;
|
||||
case Variant::QUATERNION: {
|
||||
Quaternion quaternion = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Quaternion( " + rtosfix(quaternion.x) + ", " + rtosfix(quaternion.y) + ", " + rtosfix(quaternion.z) + ", " + rtosfix(quaternion.w) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Quaternion(" + rtosfix(quaternion.x) + ", " + rtosfix(quaternion.y) + ", " + rtosfix(quaternion.z) + ", " + rtosfix(quaternion.w) + ")");
|
||||
|
||||
} break;
|
||||
case Variant::TRANSFORM2D: {
|
||||
String s = "Transform2D( ";
|
||||
String s = "Transform2D(";
|
||||
Transform2D m3 = p_variant;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 2; j++) {
|
||||
|
@ -1474,11 +1474,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
}
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, s + " )");
|
||||
p_store_string_func(p_store_string_ud, s + ")");
|
||||
|
||||
} break;
|
||||
case Variant::BASIS: {
|
||||
String s = "Basis( ";
|
||||
String s = "Basis(";
|
||||
Basis m3 = p_variant;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
|
@ -1489,11 +1489,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
}
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, s + " )");
|
||||
p_store_string_func(p_store_string_ud, s + ")");
|
||||
|
||||
} break;
|
||||
case Variant::TRANSFORM3D: {
|
||||
String s = "Transform3D( ";
|
||||
String s = "Transform3D(";
|
||||
Transform3D t = p_variant;
|
||||
Basis &m3 = t.basis;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
|
@ -1507,13 +1507,13 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
|
||||
s = s + ", " + rtosfix(t.origin.x) + ", " + rtosfix(t.origin.y) + ", " + rtosfix(t.origin.z);
|
||||
|
||||
p_store_string_func(p_store_string_ud, s + " )");
|
||||
p_store_string_func(p_store_string_ud, s + ")");
|
||||
} break;
|
||||
|
||||
// misc types
|
||||
case Variant::COLOR: {
|
||||
Color c = p_variant;
|
||||
p_store_string_func(p_store_string_ud, "Color( " + rtosfix(c.r) + ", " + rtosfix(c.g) + ", " + rtosfix(c.b) + ", " + rtosfix(c.a) + " )");
|
||||
p_store_string_func(p_store_string_ud, "Color(" + rtosfix(c.r) + ", " + rtosfix(c.g) + ", " + rtosfix(c.b) + ", " + rtosfix(c.a) + ")");
|
||||
|
||||
} break;
|
||||
case Variant::STRING_NAME: {
|
||||
|
@ -1553,7 +1553,7 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
if (res_text == String() && res->get_path().is_resource_file()) {
|
||||
//external resource
|
||||
String path = res->get_path();
|
||||
res_text = "Resource( \"" + path + "\")";
|
||||
res_text = "Resource(\"" + path + "\")";
|
||||
}
|
||||
|
||||
//could come up with some sort of text
|
||||
|
@ -1616,7 +1616,7 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
|
||||
} break;
|
||||
case Variant::ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "[ ");
|
||||
p_store_string_func(p_store_string_ud, "[");
|
||||
Array array = p_variant;
|
||||
int len = array.size();
|
||||
for (int i = 0; i < len; i++) {
|
||||
|
@ -1625,12 +1625,12 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
}
|
||||
write(array[i], p_store_string_func, p_store_string_ud, p_encode_res_func, p_encode_res_ud);
|
||||
}
|
||||
p_store_string_func(p_store_string_ud, " ]");
|
||||
p_store_string_func(p_store_string_ud, "]");
|
||||
|
||||
} break;
|
||||
|
||||
case Variant::PACKED_BYTE_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedByteArray( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedByteArray(");
|
||||
String s;
|
||||
Vector<uint8_t> data = p_variant;
|
||||
int len = data.size();
|
||||
|
@ -1644,11 +1644,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, itos(ptr[i]));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_INT32_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedInt32Array( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedInt32Array(");
|
||||
Vector<int32_t> data = p_variant;
|
||||
int32_t len = data.size();
|
||||
const int32_t *ptr = data.ptr();
|
||||
|
@ -1661,11 +1661,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, itos(ptr[i]));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_INT64_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedInt64Array( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedInt64Array(");
|
||||
Vector<int64_t> data = p_variant;
|
||||
int64_t len = data.size();
|
||||
const int64_t *ptr = data.ptr();
|
||||
|
@ -1678,11 +1678,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, itos(ptr[i]));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_FLOAT32_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedFloat32Array( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedFloat32Array(");
|
||||
Vector<float> data = p_variant;
|
||||
int len = data.size();
|
||||
const float *ptr = data.ptr();
|
||||
|
@ -1694,11 +1694,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, rtosfix(ptr[i]));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_FLOAT64_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedFloat64Array( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedFloat64Array(");
|
||||
Vector<double> data = p_variant;
|
||||
int len = data.size();
|
||||
const double *ptr = data.ptr();
|
||||
|
@ -1710,11 +1710,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, rtosfix(ptr[i]));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_STRING_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedStringArray( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedStringArray(");
|
||||
Vector<String> data = p_variant;
|
||||
int len = data.size();
|
||||
const String *ptr = data.ptr();
|
||||
|
@ -1730,11 +1730,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, "\"" + str.c_escape() + "\"");
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_VECTOR2_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedVector2Array( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedVector2Array(");
|
||||
Vector<Vector2> data = p_variant;
|
||||
int len = data.size();
|
||||
const Vector2 *ptr = data.ptr();
|
||||
|
@ -1746,11 +1746,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, rtosfix(ptr[i].x) + ", " + rtosfix(ptr[i].y));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_VECTOR3_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedVector3Array( ");
|
||||
p_store_string_func(p_store_string_ud, "PackedVector3Array(");
|
||||
Vector<Vector3> data = p_variant;
|
||||
int len = data.size();
|
||||
const Vector3 *ptr = data.ptr();
|
||||
|
@ -1762,12 +1762,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
p_store_string_func(p_store_string_ud, rtosfix(ptr[i].x) + ", " + rtosfix(ptr[i].y) + ", " + rtosfix(ptr[i].z));
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
case Variant::PACKED_COLOR_ARRAY: {
|
||||
p_store_string_func(p_store_string_ud, "PackedColorArray( ");
|
||||
|
||||
p_store_string_func(p_store_string_ud, "PackedColorArray(");
|
||||
Vector<Color> data = p_variant;
|
||||
int len = data.size();
|
||||
const Color *ptr = data.ptr();
|
||||
|
@ -1779,7 +1778,7 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
|
||||
p_store_string_func(p_store_string_ud, rtosfix(ptr[i].r) + ", " + rtosfix(ptr[i].g) + ", " + rtosfix(ptr[i].b) + ", " + rtosfix(ptr[i].a));
|
||||
}
|
||||
p_store_string_func(p_store_string_ud, " )");
|
||||
p_store_string_func(p_store_string_ud, ")");
|
||||
|
||||
} break;
|
||||
default: {
|
||||
|
|
|
@ -257,13 +257,13 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="end" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 0 )">
|
||||
<member name="end" type="Vector3" setter="" getter="" default="Vector3(0, 0, 0)">
|
||||
Ending corner. This is calculated as [code]position + size[/code]. Setting this value will change the size.
|
||||
</member>
|
||||
<member name="position" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 0 )">
|
||||
<member name="position" type="Vector3" setter="" getter="" default="Vector3(0, 0, 0)">
|
||||
Beginning corner. Typically has values lower than [member end].
|
||||
</member>
|
||||
<member name="size" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 0 )">
|
||||
<member name="size" type="Vector3" setter="" getter="" default="Vector3(0, 0, 0)">
|
||||
Size from [member position] to [member end]. Typically, all components are positive.
|
||||
If the size is negative, you can use [method abs] to fix it.
|
||||
</member>
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="key" type="PackedByteArray">
|
||||
</argument>
|
||||
<argument index="2" name="iv" type="PackedByteArray" default="PackedByteArray( )">
|
||||
<argument index="2" name="iv" type="PackedByteArray" default="PackedByteArray()">
|
||||
</argument>
|
||||
<description>
|
||||
Start the AES context in the given [code]mode[/code]. A [code]key[/code] of either 16 or 32 bytes must always be provided, while an [code]iv[/code] (initialization vector) of exactly 16 bytes, is only needed when [code]mode[/code] is either [constant MODE_CBC_ENCRYPT] or [constant MODE_CBC_DECRYPT].
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames">
|
||||
The [SpriteFrames] resource containing the animation(s).
|
||||
</member>
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)">
|
||||
The texture's drawing offset.
|
||||
</member>
|
||||
<member name="playing" type="bool" setter="_set_playing" getter="_is_playing" default="false">
|
||||
|
|
|
@ -213,9 +213,9 @@
|
|||
</argument>
|
||||
<argument index="2" name="value" type="float">
|
||||
</argument>
|
||||
<argument index="3" name="in_handle" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="3" name="in_handle" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<argument index="4" name="out_handle" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="4" name="out_handle" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Inserts a Bezier Track key at the given [code]time[/code] in seconds. The [code]track_idx[/code] must be the index of a Bezier Track.
|
||||
|
|
|
@ -132,13 +132,13 @@
|
|||
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="AnimationNodeBlendSpace2D.BlendMode" default="0">
|
||||
Controls the interpolation between animations. See [enum BlendMode] constants.
|
||||
</member>
|
||||
<member name="max_space" type="Vector2" setter="set_max_space" getter="get_max_space" default="Vector2( 1, 1 )">
|
||||
<member name="max_space" type="Vector2" setter="set_max_space" getter="get_max_space" default="Vector2(1, 1)">
|
||||
The blend space's X and Y axes' upper limit for the points' position. See [method add_blend_point].
|
||||
</member>
|
||||
<member name="min_space" type="Vector2" setter="set_min_space" getter="get_min_space" default="Vector2( -1, -1 )">
|
||||
<member name="min_space" type="Vector2" setter="set_min_space" getter="get_min_space" default="Vector2(-1, -1)">
|
||||
The blend space's X and Y axes' lower limit for the points' position. See [method add_blend_point].
|
||||
</member>
|
||||
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap" default="Vector2( 0.1, 0.1 )">
|
||||
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap" default="Vector2(0.1, 0.1)">
|
||||
Position increment to snap to when moving a point.
|
||||
</member>
|
||||
<member name="x_label" type="String" setter="set_x_label" getter="get_x_label" default=""x"">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="node" type="AnimationNode">
|
||||
</argument>
|
||||
<argument index="2" name="position" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="2" name="position" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Adds an [AnimationNode] at the given [code]position[/code]. The [code]name[/code] is used to identify the created sub-node later.
|
||||
|
@ -107,7 +107,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset" default="Vector2( 0, 0 )">
|
||||
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset" default="Vector2(0, 0)">
|
||||
The global offset of all sub-nodes.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="node" type="AnimationNode">
|
||||
</argument>
|
||||
<argument index="2" name="position" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="2" name="position" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Adds a new node to the graph. The [code]position[/code] is used for display in the editor.
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point" default="false">
|
||||
If [code]true[/code], gravity is calculated from a point (set via [member gravity_vec]). See also [member space_override].
|
||||
</member>
|
||||
<member name="gravity_vec" type="Vector2" setter="set_gravity_vector" getter="get_gravity_vector" default="Vector2( 0, 1 )">
|
||||
<member name="gravity_vec" type="Vector2" setter="set_gravity_vector" getter="get_gravity_vector" default="Vector2(0, 1)">
|
||||
The area's gravity vector (not normalized). If gravity is a point (see [member gravity_point]), this will be the point of attraction.
|
||||
</member>
|
||||
<member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" default="0.1">
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point" default="false">
|
||||
If [code]true[/code], gravity is calculated from a point (set via [member gravity_vec]). See also [member space_override].
|
||||
</member>
|
||||
<member name="gravity_vec" type="Vector3" setter="set_gravity_vector" getter="get_gravity_vector" default="Vector3( 0, -1, 0 )">
|
||||
<member name="gravity_vec" type="Vector3" setter="set_gravity_vector" getter="get_gravity_vector" default="Vector3(0, -1, 0)">
|
||||
The area's gravity vector (not normalized). If gravity is a point (see [member gravity_point]), this will be the point of attraction.
|
||||
</member>
|
||||
<member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" default="0.1">
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="arrays" type="Array">
|
||||
</argument>
|
||||
<argument index="2" name="blend_shapes" type="Array" default="[ ]">
|
||||
<argument index="2" name="blend_shapes" type="Array" default="[]">
|
||||
</argument>
|
||||
<argument index="3" name="lods" type="Dictionary" default="{
|
||||
}">
|
||||
|
@ -221,7 +221,7 @@
|
|||
<member name="blend_shape_mode" type="int" setter="set_blend_shape_mode" getter="get_blend_shape_mode" enum="Mesh.BlendShapeMode" default="1">
|
||||
Sets the blend shape mode to one of [enum Mesh.BlendShapeMode].
|
||||
</member>
|
||||
<member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||
<member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb" default="AABB(0, 0, 0, 0, 0, 0)">
|
||||
Overrides the [AABB] with one defined by user for use with frustum culling. Especially useful to avoid unexpected culling when using a shader to offset vertices.
|
||||
</member>
|
||||
<member name="shadow_mesh" type="ArrayMesh" setter="set_shadow_mesh" getter="get_shadow_mesh">
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
<member name="filter_clip" type="bool" setter="set_filter_clip" getter="has_filter_clip" default="false">
|
||||
If [code]true[/code], clips the area outside of the region to avoid bleeding of the surrounding texture pixels.
|
||||
</member>
|
||||
<member name="margin" type="Rect2" setter="set_margin" getter="get_margin" default="Rect2( 0, 0, 0, 0 )">
|
||||
<member name="margin" type="Rect2" setter="set_margin" getter="get_margin" default="Rect2(0, 0, 0, 0)">
|
||||
The margin around the region. The [Rect2]'s [member Rect2.size] parameter ("w" and "h" in the editor) resizes the texture so it fits within the margin.
|
||||
</member>
|
||||
<member name="region" type="Rect2" setter="set_region" getter="get_region" default="Rect2( 0, 0, 0, 0 )">
|
||||
<member name="region" type="Rect2" setter="set_region" getter="get_region" default="Rect2(0, 0, 0, 0)">
|
||||
The AtlasTexture's used region.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="data" type="PackedByteArray" setter="set_data" getter="get_data" default="PackedByteArray( )">
|
||||
<member name="data" type="PackedByteArray" setter="set_data" getter="get_data" default="PackedByteArray()">
|
||||
Contains the audio data in bytes.
|
||||
[b]Note:[/b] This property expects signed PCM8 data. To convert unsigned PCM8 to signed PCM8, subtract 128 from each byte.
|
||||
</member>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<member name="copy_mode" type="int" setter="set_copy_mode" getter="get_copy_mode" enum="BackBufferCopy.CopyMode" default="1">
|
||||
Buffer mode. See [enum CopyMode] constants.
|
||||
</member>
|
||||
<member name="rect" type="Rect2" setter="set_rect" getter="get_rect" default="Rect2( -100, -100, 200, 200 )">
|
||||
<member name="rect" type="Rect2" setter="set_rect" getter="get_rect" default="Rect2(-100, -100, 200, 200)">
|
||||
The area covered by the BackBufferCopy. Only used if [member copy_mode] is [constant COPY_MODE_RECT].
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="albedo_color" type="Color" setter="set_albedo" getter="get_albedo" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="albedo_color" type="Color" setter="set_albedo" getter="get_albedo" default="Color(1, 1, 1, 1)">
|
||||
The material's base color.
|
||||
</member>
|
||||
<member name="albedo_tex_force_srgb" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
|
@ -117,7 +117,7 @@
|
|||
<member name="ao_texture_channel" type="int" setter="set_ao_texture_channel" getter="get_ao_texture_channel" enum="BaseMaterial3D.TextureChannel" default="0">
|
||||
Specifies the channel of the [member ao_texture] in which the ambient occlusion information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored metallic in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use.
|
||||
</member>
|
||||
<member name="backlight" type="Color" setter="set_backlight" getter="get_backlight" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="backlight" type="Color" setter="set_backlight" getter="get_backlight" default="Color(0, 0, 0, 1)">
|
||||
The color used by the backlight effect. Represents the light passing through an object.
|
||||
</member>
|
||||
<member name="backlight_enabled" type="bool" setter="set_feature" getter="get_feature" default="false">
|
||||
|
@ -195,7 +195,7 @@
|
|||
<member name="distance_fade_mode" type="int" setter="set_distance_fade" getter="get_distance_fade" enum="BaseMaterial3D.DistanceFadeMode" default="0">
|
||||
Specifies which type of fade to use. Can be any of the [enum DistanceFadeMode]s.
|
||||
</member>
|
||||
<member name="emission" type="Color" setter="set_emission" getter="get_emission" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="emission" type="Color" setter="set_emission" getter="get_emission" default="Color(0, 0, 0, 1)">
|
||||
The emitted light's color. See [member emission_enabled].
|
||||
</member>
|
||||
<member name="emission_enabled" type="bool" setter="set_feature" getter="get_feature" default="false">
|
||||
|
@ -345,7 +345,7 @@
|
|||
</member>
|
||||
<member name="subsurf_scatter_transmittance_boost" type="float" setter="set_transmittance_boost" getter="get_transmittance_boost" default="0.0">
|
||||
</member>
|
||||
<member name="subsurf_scatter_transmittance_color" type="Color" setter="set_transmittance_color" getter="get_transmittance_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="subsurf_scatter_transmittance_color" type="Color" setter="set_transmittance_color" getter="get_transmittance_color" default="Color(1, 1, 1, 1)">
|
||||
</member>
|
||||
<member name="subsurf_scatter_transmittance_curve" type="float" setter="set_transmittance_curve" getter="get_transmittance_curve" default="1.0">
|
||||
</member>
|
||||
|
@ -370,10 +370,10 @@
|
|||
If [code]true[/code], render point size can be changed.
|
||||
[b]Note:[/b] this is only effective for objects whose geometry is point-based rather than triangle-based. See also [member point_size].
|
||||
</member>
|
||||
<member name="uv1_offset" type="Vector3" setter="set_uv1_offset" getter="get_uv1_offset" default="Vector3( 0, 0, 0 )">
|
||||
<member name="uv1_offset" type="Vector3" setter="set_uv1_offset" getter="get_uv1_offset" default="Vector3(0, 0, 0)">
|
||||
How much to offset the [code]UV[/code] coordinates. This amount will be added to [code]UV[/code] in the vertex function. This can be used to offset a texture.
|
||||
</member>
|
||||
<member name="uv1_scale" type="Vector3" setter="set_uv1_scale" getter="get_uv1_scale" default="Vector3( 1, 1, 1 )">
|
||||
<member name="uv1_scale" type="Vector3" setter="set_uv1_scale" getter="get_uv1_scale" default="Vector3(1, 1, 1)">
|
||||
How much to scale the [code]UV[/code] coordinates. This is multiplied by [code]UV[/code] in the vertex function.
|
||||
</member>
|
||||
<member name="uv1_triplanar" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
|
@ -385,10 +385,10 @@
|
|||
<member name="uv1_world_triplanar" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], triplanar mapping for [code]UV[/code] is calculated in world space rather than object local space. See also [member uv1_triplanar].
|
||||
</member>
|
||||
<member name="uv2_offset" type="Vector3" setter="set_uv2_offset" getter="get_uv2_offset" default="Vector3( 0, 0, 0 )">
|
||||
<member name="uv2_offset" type="Vector3" setter="set_uv2_offset" getter="get_uv2_offset" default="Vector3(0, 0, 0)">
|
||||
How much to offset the [code]UV2[/code] coordinates. This amount will be added to [code]UV2[/code] in the vertex function. This can be used to offset a texture.
|
||||
</member>
|
||||
<member name="uv2_scale" type="Vector3" setter="set_uv2_scale" getter="get_uv2_scale" default="Vector3( 1, 1, 1 )">
|
||||
<member name="uv2_scale" type="Vector3" setter="set_uv2_scale" getter="get_uv2_scale" default="Vector3(1, 1, 1)">
|
||||
How much to scale the [code]UV2[/code] coordinates. This is multiplied by [code]UV2[/code] in the vertex function.
|
||||
</member>
|
||||
<member name="uv2_triplanar" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
|
|
|
@ -245,28 +245,28 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="x" type="Vector3" setter="" getter="" default="Vector3( 1, 0, 0 )">
|
||||
<member name="x" type="Vector3" setter="" getter="" default="Vector3(1, 0, 0)">
|
||||
The basis matrix's X vector (column 0). Equivalent to array index [code]0[/code].
|
||||
</member>
|
||||
<member name="y" type="Vector3" setter="" getter="" default="Vector3( 0, 1, 0 )">
|
||||
<member name="y" type="Vector3" setter="" getter="" default="Vector3(0, 1, 0)">
|
||||
The basis matrix's Y vector (column 1). Equivalent to array index [code]1[/code].
|
||||
</member>
|
||||
<member name="z" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 1 )">
|
||||
<member name="z" type="Vector3" setter="" getter="" default="Vector3(0, 0, 1)">
|
||||
The basis matrix's Z vector (column 2). Equivalent to array index [code]2[/code].
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="IDENTITY" value="Basis( 1, 0, 0, 0, 1, 0, 0, 0, 1 )">
|
||||
<constant name="IDENTITY" value="Basis(1, 0, 0, 0, 1, 0, 0, 0, 1)">
|
||||
The identity basis, with no rotation or scaling applied.
|
||||
This is identical to calling [code]Basis()[/code] without any parameters. This constant can be used to make your code clearer, and for consistency with C#.
|
||||
</constant>
|
||||
<constant name="FLIP_X" value="Basis( -1, 0, 0, 0, 1, 0, 0, 0, 1 )">
|
||||
<constant name="FLIP_X" value="Basis(-1, 0, 0, 0, 1, 0, 0, 0, 1)">
|
||||
The basis that will flip something along the X axis when used in a transformation.
|
||||
</constant>
|
||||
<constant name="FLIP_Y" value="Basis( 1, 0, 0, 0, -1, 0, 0, 0, 1 )">
|
||||
<constant name="FLIP_Y" value="Basis(1, 0, 0, 0, -1, 0, 0, 0, 1)">
|
||||
The basis that will flip something along the Y axis when used in a transformation.
|
||||
</constant>
|
||||
<constant name="FLIP_Z" value="Basis( 1, 0, 0, 0, 1, 0, 0, 0, -1 )">
|
||||
<constant name="FLIP_Z" value="Basis(1, 0, 0, 0, 1, 0, 0, 0, -1)">
|
||||
The basis that will flip something along the Z axis when used in a transformation.
|
||||
</constant>
|
||||
</constants>
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="rest" type="Transform2D" setter="set_rest" getter="get_rest" default="Transform2D( 0, 0, 0, 0, 0, 0 )">
|
||||
<member name="rest" type="Transform2D" setter="set_rest" getter="get_rest" default="Transform2D(0, 0, 0, 0, 0, 0)">
|
||||
Rest transform of the bone. You can reset the node's transforms to this value using [method apply_rest].
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )">
|
||||
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3(2, 2, 2)">
|
||||
The box's width, height and depth.
|
||||
</member>
|
||||
<member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth" default="0">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )">
|
||||
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3(2, 2, 2)">
|
||||
The box's width, height and depth.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -116,22 +116,22 @@
|
|||
<theme_item name="font" type="Font">
|
||||
[Font] of the [Button]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
Default text [Color] of the [Button].
|
||||
</theme_item>
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color(0.9, 0.9, 0.9, 0.2)">
|
||||
Text [Color] used when the [Button] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
Text [Color] used when the [Button] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Text [Color] used when the [Button] is being hovered and pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [Button].
|
||||
</theme_item>
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Text [Color] used when the [Button] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
@ -143,19 +143,19 @@
|
|||
<theme_item name="hseparation" type="int" default="2">
|
||||
The horizontal space between [Button]'s icon and text.
|
||||
</theme_item>
|
||||
<theme_item name="icon_disabled_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="icon_disabled_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="icon_hover_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="icon_hover_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="icon_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="icon_hover_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is being hovered and pressed.
|
||||
</theme_item>
|
||||
<theme_item name="icon_normal_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="icon_normal_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Default icon modulate [Color] of the [Button].
|
||||
</theme_item>
|
||||
<theme_item name="icon_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="icon_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="normal" type="StyleBox">
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||
Animation speed randomness ratio.
|
||||
</member>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
|
||||
Each particle's initial color. If [member texture] is defined, it will be multiplied by this color.
|
||||
</member>
|
||||
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp">
|
||||
|
@ -163,7 +163,7 @@
|
|||
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||
Damping randomness ratio.
|
||||
</member>
|
||||
<member name="direction" type="Vector2" setter="set_direction" getter="get_direction" default="Vector2( 1, 0 )">
|
||||
<member name="direction" type="Vector2" setter="set_direction" getter="get_direction" default="Vector2(1, 0)">
|
||||
Unit vector specifying the particles' emission direction.
|
||||
</member>
|
||||
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles2D.DrawOrder" default="0">
|
||||
|
@ -199,7 +199,7 @@
|
|||
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta" default="true">
|
||||
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect.
|
||||
</member>
|
||||
<member name="gravity" type="Vector2" setter="set_gravity" getter="get_gravity" default="Vector2( 0, 980 )">
|
||||
<member name="gravity" type="Vector2" setter="set_gravity" getter="get_gravity" default="Vector2(0, 980)">
|
||||
Gravity applied to every particle.
|
||||
</member>
|
||||
<member name="hue_variation" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||
Animation speed randomness ratio.
|
||||
</member>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
|
||||
Unused for 3D particles.
|
||||
</member>
|
||||
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp">
|
||||
|
@ -162,7 +162,7 @@
|
|||
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||
Damping randomness ratio.
|
||||
</member>
|
||||
<member name="direction" type="Vector3" setter="set_direction" getter="get_direction" default="Vector3( 1, 0, 0 )">
|
||||
<member name="direction" type="Vector3" setter="set_direction" getter="get_direction" default="Vector3(1, 0, 0)">
|
||||
Unit vector specifying the particles' emission direction.
|
||||
</member>
|
||||
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles3D.DrawOrder" default="0">
|
||||
|
@ -171,13 +171,13 @@
|
|||
<member name="emission_box_extents" type="Vector3" setter="set_emission_box_extents" getter="get_emission_box_extents">
|
||||
The rectangle's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_BOX].
|
||||
</member>
|
||||
<member name="emission_colors" type="PackedColorArray" setter="set_emission_colors" getter="get_emission_colors" default="PackedColorArray( )">
|
||||
<member name="emission_colors" type="PackedColorArray" setter="set_emission_colors" getter="get_emission_colors" default="PackedColorArray()">
|
||||
Sets the [Color]s to modulate particles by when using [constant EMISSION_SHAPE_POINTS] or [constant EMISSION_SHAPE_DIRECTED_POINTS].
|
||||
</member>
|
||||
<member name="emission_normals" type="PackedVector3Array" setter="set_emission_normals" getter="get_emission_normals">
|
||||
Sets the direction the particles will be emitted in when using [constant EMISSION_SHAPE_DIRECTED_POINTS].
|
||||
</member>
|
||||
<member name="emission_points" type="PackedVector3Array" setter="set_emission_points" getter="get_emission_points" default="PackedVector3Array( )">
|
||||
<member name="emission_points" type="PackedVector3Array" setter="set_emission_points" getter="get_emission_points" default="PackedVector3Array()">
|
||||
Sets the initial positions to spawn particles when using [constant EMISSION_SHAPE_POINTS] or [constant EMISSION_SHAPE_DIRECTED_POINTS].
|
||||
</member>
|
||||
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles3D.EmissionShape" default="0">
|
||||
|
@ -201,7 +201,7 @@
|
|||
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta" default="true">
|
||||
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect.
|
||||
</member>
|
||||
<member name="gravity" type="Vector3" setter="set_gravity" getter="get_gravity" default="Vector3( 0, -9.8, 0 )">
|
||||
<member name="gravity" type="Vector3" setter="set_gravity" getter="get_gravity" default="Vector3(0, -9.8, 0)">
|
||||
Gravity applied to every particle.
|
||||
</member>
|
||||
<member name="hue_variation" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
<member name="limit_top" type="int" setter="set_limit" getter="get_limit" default="-10000000">
|
||||
Top scroll limit in pixels. The camera stops moving when reaching this value.
|
||||
</member>
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)">
|
||||
The camera's offset, useful for looking around or camera shake animations.
|
||||
</member>
|
||||
<member name="process_callback" type="int" setter="set_process_callback" getter="get_process_callback" enum="Camera2D.Camera2DProcessCallback" default="1">
|
||||
|
@ -180,7 +180,7 @@
|
|||
<member name="smoothing_speed" type="float" setter="set_follow_smoothing" getter="get_follow_smoothing" default="5.0">
|
||||
Speed in pixels per second of the camera's smoothing effect when [member smoothing_enabled] is [code]true[/code].
|
||||
</member>
|
||||
<member name="zoom" type="Vector2" setter="set_zoom" getter="get_zoom" default="Vector2( 1, 1 )">
|
||||
<member name="zoom" type="Vector2" setter="set_zoom" getter="get_zoom" default="Vector2(1, 1)">
|
||||
The camera's zoom relative to the viewport. Values larger than [code]Vector2(1, 1)[/code] zoom out and smaller values zoom in. For an example, use [code]Vector2(0.5, 0.5)[/code] for a 2× zoom-in, and [code]Vector2(4, 4)[/code] for a 4× zoom-out.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -209,7 +209,7 @@
|
|||
- ~107.51 degrees in a 16:9 viewport
|
||||
- ~121.63 degrees in a 21:9 viewport
|
||||
</member>
|
||||
<member name="frustum_offset" type="Vector2" setter="set_frustum_offset" getter="get_frustum_offset" default="Vector2( 0, 0 )">
|
||||
<member name="frustum_offset" type="Vector2" setter="set_frustum_offset" getter="get_frustum_offset" default="Vector2(0, 0)">
|
||||
The camera's frustum offset. This can be changed from the default to create "tilted frustum" effects such as [url=https://zdoom.org/wiki/Y-shearing]Y-shearing[/url].
|
||||
</member>
|
||||
<member name="h_offset" type="float" setter="set_h_offset" getter="get_h_offset" default="0.0">
|
||||
|
|
|
@ -75,11 +75,11 @@
|
|||
</argument>
|
||||
<argument index="4" name="size" type="int" default="-1">
|
||||
</argument>
|
||||
<argument index="5" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="5" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="6" name="outline_size" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="7" name="outline_modulate" type="Color" default="Color( 1, 1, 1, 0 )">
|
||||
<argument index="7" name="outline_modulate" type="Color" default="Color(1, 1, 1, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Draws a string character using a custom font. Returns the advance, depending on the character width and kerning with an optional next character.
|
||||
|
@ -105,7 +105,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="color" type="Color">
|
||||
</argument>
|
||||
<argument index="2" name="uvs" type="PackedVector2Array" default="PackedVector2Array( )">
|
||||
<argument index="2" name="uvs" type="PackedVector2Array" default="PackedVector2Array()">
|
||||
</argument>
|
||||
<argument index="3" name="texture" type="Texture2D" default="null">
|
||||
</argument>
|
||||
|
@ -142,9 +142,9 @@
|
|||
</argument>
|
||||
<argument index="1" name="texture" type="Texture2D">
|
||||
</argument>
|
||||
<argument index="2" name="transform" type="Transform2D" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
|
||||
<argument index="2" name="transform" type="Transform2D" default="Transform2D(1, 0, 0, 1, 0, 0)">
|
||||
</argument>
|
||||
<argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Draws a [Mesh] in 2D, using the provided texture. See [MeshInstance2D] for related documentation.
|
||||
|
@ -193,11 +193,11 @@
|
|||
</argument>
|
||||
<argument index="6" name="size" type="int" default="-1">
|
||||
</argument>
|
||||
<argument index="7" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="7" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="8" name="outline_size" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="9" name="outline_modulate" type="Color" default="Color( 1, 1, 1, 0 )">
|
||||
<argument index="9" name="outline_modulate" type="Color" default="Color(1, 1, 1, 0)">
|
||||
</argument>
|
||||
<argument index="10" name="flags" type="int" default="51">
|
||||
</argument>
|
||||
|
@ -223,7 +223,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="colors" type="PackedColorArray">
|
||||
</argument>
|
||||
<argument index="2" name="uvs" type="PackedVector2Array" default="PackedVector2Array( )">
|
||||
<argument index="2" name="uvs" type="PackedVector2Array" default="PackedVector2Array()">
|
||||
</argument>
|
||||
<argument index="3" name="texture" type="Texture2D" default="null">
|
||||
</argument>
|
||||
|
@ -301,7 +301,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="rotation" type="float" default="0.0">
|
||||
</argument>
|
||||
<argument index="2" name="scale" type="Vector2" default="Vector2( 1, 1 )">
|
||||
<argument index="2" name="scale" type="Vector2" default="Vector2(1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Sets a custom transform for drawing via components. Anything drawn afterwards will be transformed by this.
|
||||
|
@ -331,11 +331,11 @@
|
|||
</argument>
|
||||
<argument index="5" name="size" type="int" default="-1">
|
||||
</argument>
|
||||
<argument index="6" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="6" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="7" name="outline_size" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="8" name="outline_modulate" type="Color" default="Color( 1, 1, 1, 0 )">
|
||||
<argument index="8" name="outline_modulate" type="Color" default="Color(1, 1, 1, 0)">
|
||||
</argument>
|
||||
<argument index="9" name="flags" type="int" default="3">
|
||||
</argument>
|
||||
|
@ -381,7 +381,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="position" type="Vector2">
|
||||
</argument>
|
||||
<argument index="2" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="2" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Draws a texture at a given position.
|
||||
|
@ -396,7 +396,7 @@
|
|||
</argument>
|
||||
<argument index="2" name="tile" type="bool">
|
||||
</argument>
|
||||
<argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="4" name="transpose" type="bool" default="false">
|
||||
</argument>
|
||||
|
@ -413,7 +413,7 @@
|
|||
</argument>
|
||||
<argument index="2" name="src_rect" type="Rect2">
|
||||
</argument>
|
||||
<argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="4" name="transpose" type="bool" default="false">
|
||||
</argument>
|
||||
|
@ -595,10 +595,10 @@
|
|||
<member name="material" type="Material" setter="set_material" getter="get_material">
|
||||
The material applied to textures on this [CanvasItem].
|
||||
</member>
|
||||
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color(1, 1, 1, 1)">
|
||||
The color applied to textures on this [CanvasItem].
|
||||
</member>
|
||||
<member name="self_modulate" type="Color" setter="set_self_modulate" getter="get_self_modulate" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="self_modulate" type="Color" setter="set_self_modulate" getter="get_self_modulate" default="Color(1, 1, 1, 1)">
|
||||
The color applied to textures on this [CanvasItem]. This is not inherited by children [CanvasItem]s.
|
||||
</member>
|
||||
<member name="show_behind_parent" type="bool" setter="set_draw_behind_parent" getter="is_draw_behind_parent_enabled" default="false">
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<member name="layer" type="int" setter="set_layer" getter="get_layer" default="1">
|
||||
Layer index for draw order. Lower values are drawn first.
|
||||
</member>
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)">
|
||||
The layer's base offset.
|
||||
</member>
|
||||
<member name="rotation" type="float" setter="set_rotation" getter="get_rotation" default="0.0">
|
||||
|
@ -42,10 +42,10 @@
|
|||
<member name="rotation_degrees" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees" default="0.0">
|
||||
The layer's rotation in degrees.
|
||||
</member>
|
||||
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2( 1, 1 )">
|
||||
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2(1, 1)">
|
||||
The layer's scale.
|
||||
</member>
|
||||
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
|
||||
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D(1, 0, 0, 1, 0, 0)">
|
||||
The layer's transform.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
|
||||
The tint color to apply.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</member>
|
||||
<member name="normal_texture" type="Texture2D" setter="set_normal_texture" getter="get_normal_texture">
|
||||
</member>
|
||||
<member name="specular_color" type="Color" setter="set_specular_color" getter="get_specular_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="specular_color" type="Color" setter="set_specular_color" getter="get_specular_color" default="Color(1, 1, 1, 1)">
|
||||
</member>
|
||||
<member name="specular_shininess" type="float" setter="set_specular_shininess" getter="get_specular_shininess" default="1.0">
|
||||
</member>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(0, 0, 0, 1)">
|
||||
The color the character will be drawn with.
|
||||
</member>
|
||||
<member name="elapsed_time" type="float" setter="set_elapsed_time" getter="get_elapsed_time" default="0.0">
|
||||
|
@ -33,13 +33,13 @@
|
|||
<member name="glyph_index" type="int" setter="set_glyph_index" getter="get_glyph_index" default="0">
|
||||
Font specific glyph index.
|
||||
</member>
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)">
|
||||
The position offset the character will be drawn with (in pixels).
|
||||
</member>
|
||||
<member name="outline" type="bool" setter="set_outline" getter="is_outline" default="false">
|
||||
If [code]true[/code], FX transform is called for outline drawing. Setting this property won't affect drawing.
|
||||
</member>
|
||||
<member name="range" type="Vector2i" setter="set_range" getter="get_range" default="Vector2i( 0, 0 )">
|
||||
<member name="range" type="Vector2i" setter="set_range" getter="get_range" default="Vector2i(0, 0)">
|
||||
Absolute character range in the string, corresponding to the glyph. Setting this property won't affect drawing.
|
||||
</member>
|
||||
<member name="visible" type="bool" setter="set_visibility" getter="is_visible" default="true">
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<member name="infinite_inertia" type="bool" setter="set_infinite_inertia_enabled" getter="is_infinite_inertia_enabled" default="true">
|
||||
If [code]true[/code], the body will be able to push [RigidBody2D] nodes when calling [method move_and_slide], but it also won't detect any collisions with them. If [code]false[/code], it will interact with [RigidBody2D] nodes like with [StaticBody2D].
|
||||
</member>
|
||||
<member name="linear_velocity" type="Vector2" setter="set_linear_velocity" getter="get_linear_velocity" default="Vector2( 0, 0 )">
|
||||
<member name="linear_velocity" type="Vector2" setter="set_linear_velocity" getter="get_linear_velocity" default="Vector2(0, 0)">
|
||||
Current velocity vector in pixels per second, used and modified during calls to [method move_and_slide].
|
||||
</member>
|
||||
<member name="max_slides" type="int" setter="set_max_slides" getter="get_max_slides" default="4">
|
||||
|
@ -116,14 +116,14 @@
|
|||
<member name="motion/sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled" default="false">
|
||||
If [code]true[/code], the body's movement will be synchronized to the physics frame. This is useful when animating movement via [AnimationPlayer], for example on moving platforms. Do [b]not[/b] use together with [method move_and_slide] or [method PhysicsBody2D.move_and_collide] functions.
|
||||
</member>
|
||||
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap" default="Vector2( 0, 0 )">
|
||||
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap" default="Vector2(0, 0)">
|
||||
When set to a value different from [code]Vector2(0, 0)[/code], the body is kept attached to slopes when calling [method move_and_slide].
|
||||
As long as the [code]snap[/code] vector is in contact with the ground, the body will remain attached to the surface. This means you must disable snap in order to jump, for example. You can do this by setting [code]snap[/code] to [code]Vector2(0, 0)[/code].
|
||||
</member>
|
||||
<member name="stop_on_slope" type="bool" setter="set_stop_on_slope_enabled" getter="is_stop_on_slope_enabled" default="false">
|
||||
If [code]true[/code], the body will not slide on slopes when you include gravity in [code]linear_velocity[/code] when calling [method move_and_slide] and the body is standing still.
|
||||
</member>
|
||||
<member name="up_direction" type="Vector2" setter="set_up_direction" getter="get_up_direction" default="Vector2( 0, -1 )">
|
||||
<member name="up_direction" type="Vector2" setter="set_up_direction" getter="get_up_direction" default="Vector2(0, -1)">
|
||||
Direction vector used to determine what is a wall and what is a floor (or a ceiling), rather than a wall, when calling [method move_and_slide]. Defaults to [code]Vector2.UP[/code]. If set to [code]Vector2(0, 0)[/code], everything is considered a wall. This is useful for topdown games.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -93,20 +93,20 @@
|
|||
<member name="infinite_inertia" type="bool" setter="set_infinite_inertia_enabled" getter="is_infinite_inertia_enabled" default="true">
|
||||
If [code]true[/code], the body will be able to push [RigidBody3D] nodes when calling [method move_and_slide], but it also won't detect any collisions with them. If [code]false[/code], it will interact with [RigidBody3D] nodes like with [StaticBody3D].
|
||||
</member>
|
||||
<member name="linear_velocity" type="Vector3" setter="set_linear_velocity" getter="get_linear_velocity" default="Vector3( 0, 0, 0 )">
|
||||
<member name="linear_velocity" type="Vector3" setter="set_linear_velocity" getter="get_linear_velocity" default="Vector3(0, 0, 0)">
|
||||
Current velocity vector (typically meters per second), used and modified during calls to [method move_and_slide].
|
||||
</member>
|
||||
<member name="max_slides" type="int" setter="set_max_slides" getter="get_max_slides" default="4">
|
||||
Maximum number of times the body can change direction before it stops when calling [method move_and_slide].
|
||||
</member>
|
||||
<member name="snap" type="Vector3" setter="set_snap" getter="get_snap" default="Vector3( 0, 0, 0 )">
|
||||
<member name="snap" type="Vector3" setter="set_snap" getter="get_snap" default="Vector3(0, 0, 0)">
|
||||
When set to a value different from [code]Vector3(0, 0, 0)[/code], the body is kept attached to slopes when calling [method move_and_slide].
|
||||
As long as the [code]snap[/code] vector is in contact with the ground, the body will remain attached to the surface. This means you must disable snap in order to jump, for example. You can do this by setting [code]snap[/code] to [code]Vector3(0, 0, 0)[/code].
|
||||
</member>
|
||||
<member name="stop_on_slope" type="bool" setter="set_stop_on_slope_enabled" getter="is_stop_on_slope_enabled" default="false">
|
||||
If [code]true[/code], the body will not slide on slopes when you include gravity in [code]linear_velocity[/code] when calling [method move_and_slide] and the body is standing still.
|
||||
</member>
|
||||
<member name="up_direction" type="Vector3" setter="set_up_direction" getter="get_up_direction" default="Vector3( 0, 1, 0 )">
|
||||
<member name="up_direction" type="Vector3" setter="set_up_direction" getter="get_up_direction" default="Vector3(0, 1, 0)">
|
||||
Direction vector used to determine what is a wall and what is a floor (or a ceiling), rather than a wall, when calling [method move_and_slide]. Defaults to [code]Vector3.UP[/code]. If set to [code]Vector3(0, 0, 0)[/code], everything is considered a wall. This is useful for topdown games.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -35,22 +35,22 @@
|
|||
<theme_item name="font" type="Font">
|
||||
The [Font] to use for the [CheckBox] text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
The [CheckBox] text's font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color(0.9, 0.9, 0.9, 0.2)">
|
||||
The [CheckBox] text's font color when it's disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
The [CheckBox] text's font color when it's hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The [CheckBox] text's font color when it's hovered and pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [CheckBox].
|
||||
</theme_item>
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The [CheckBox] text's font color when it's pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
|
|
@ -30,22 +30,22 @@
|
|||
<theme_item name="font" type="Font">
|
||||
The [Font] to use for the [CheckButton] text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
The [CheckButton] text's font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color(0.9, 0.9, 0.9, 0.2)">
|
||||
The [CheckButton] text's font color when it's disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
The [CheckButton] text's font color when it's hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The [CheckButton] text's font color when it's hovered and pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [CheckButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The [CheckButton] text's font color when it's pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</argument>
|
||||
<argument index="2" name="insert_text" type="String">
|
||||
</argument>
|
||||
<argument index="3" name="text_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="3" name="text_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="4" name="icon" type="Resource" default="null">
|
||||
</argument>
|
||||
|
@ -456,13 +456,13 @@
|
|||
<member name="code_completion_enabled" type="bool" setter="set_code_completion_enabled" getter="is_code_completion_enabled" default="false">
|
||||
Sets whether code completion is allowed.
|
||||
</member>
|
||||
<member name="code_completion_prefixes" type="String[]" setter="set_code_completion_prefixes" getter="get_code_comletion_prefixes" default="[ ]">
|
||||
<member name="code_completion_prefixes" type="String[]" setter="set_code_completion_prefixes" getter="get_code_comletion_prefixes" default="[]">
|
||||
Sets prefixes that will trigger code completion.
|
||||
</member>
|
||||
<member name="delimiter_comments" type="String[]" setter="set_comment_delimiters" getter="get_comment_delimiters" default="[ ]">
|
||||
<member name="delimiter_comments" type="String[]" setter="set_comment_delimiters" getter="get_comment_delimiters" default="[]">
|
||||
Sets the comment delimiters. All existing comment delimiters will be removed.
|
||||
</member>
|
||||
<member name="delimiter_strings" type="String[]" setter="set_string_delimiters" getter="get_string_delimiters" default="[ ]">
|
||||
<member name="delimiter_strings" type="String[]" setter="set_string_delimiters" getter="get_string_delimiters" default="[]">
|
||||
Sets the string delimiters. All existing string delimiters will be removed.
|
||||
</member>
|
||||
<member name="draw_bookmarks" type="bool" setter="set_draw_bookmarks_gutter" getter="is_drawing_bookmarks_gutter" default="false">
|
||||
|
@ -479,7 +479,7 @@
|
|||
<member name="line_folding" type="bool" setter="set_line_folding_enabled" getter="is_line_folding_enabled" default="true">
|
||||
Sets whether line folding is allowed.
|
||||
</member>
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" override="true" default="[ ]" />
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" override="true" default="[]" />
|
||||
<member name="text_direction" type="int" setter="set_text_direction" getter="get_text_direction" override="true" enum="Control.TextDirection" default="1" />
|
||||
<member name="zero_pad_line_numbers" type="bool" setter="set_line_numbers_zero_padded" getter="is_line_numbers_zero_padded" default="false">
|
||||
</member>
|
||||
|
@ -520,49 +520,49 @@
|
|||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="background_color" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
<theme_item name="background_color" type="Color" default="Color(0, 0, 0, 0)">
|
||||
</theme_item>
|
||||
<theme_item name="bookmark" type="Texture2D">
|
||||
</theme_item>
|
||||
<theme_item name="bookmark_color" type="Color" default="Color( 0.5, 0.64, 1, 0.8 )">
|
||||
<theme_item name="bookmark_color" type="Color" default="Color(0.5, 0.64, 1, 0.8)">
|
||||
</theme_item>
|
||||
<theme_item name="brace_mismatch_color" type="Color" default="Color( 1, 0.2, 0.2, 1 )">
|
||||
<theme_item name="brace_mismatch_color" type="Color" default="Color(1, 0.2, 0.2, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="breakpoint" type="Texture2D">
|
||||
</theme_item>
|
||||
<theme_item name="breakpoint_color" type="Color" default="Color( 0.9, 0.29, 0.3, 1 )">
|
||||
<theme_item name="breakpoint_color" type="Color" default="Color(0.9, 0.29, 0.3, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="can_fold" type="Texture2D">
|
||||
</theme_item>
|
||||
<theme_item name="caret_background_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="caret_background_color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="caret_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="caret_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="code_folding_color" type="Color" default="Color( 0.8, 0.8, 0.8, 0.8 )">
|
||||
<theme_item name="code_folding_color" type="Color" default="Color(0.8, 0.8, 0.8, 0.8)">
|
||||
</theme_item>
|
||||
<theme_item name="completion" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="completion_background_color" type="Color" default="Color( 0.17, 0.16, 0.2, 1 )">
|
||||
<theme_item name="completion_background_color" type="Color" default="Color(0.17, 0.16, 0.2, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="completion_existing_color" type="Color" default="Color( 0.87, 0.87, 0.87, 0.13 )">
|
||||
<theme_item name="completion_existing_color" type="Color" default="Color(0.87, 0.87, 0.87, 0.13)">
|
||||
</theme_item>
|
||||
<theme_item name="completion_font_color" type="Color" default="Color( 0.67, 0.67, 0.67, 1 )">
|
||||
<theme_item name="completion_font_color" type="Color" default="Color(0.67, 0.67, 0.67, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="completion_lines" type="int" default="7">
|
||||
</theme_item>
|
||||
<theme_item name="completion_max_width" type="int" default="50">
|
||||
</theme_item>
|
||||
<theme_item name="completion_scroll_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="completion_scroll_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="completion_scroll_width" type="int" default="3">
|
||||
</theme_item>
|
||||
<theme_item name="completion_selected_color" type="Color" default="Color( 0.26, 0.26, 0.27, 1 )">
|
||||
<theme_item name="completion_selected_color" type="Color" default="Color(0.26, 0.26, 0.27, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="current_line_color" type="Color" default="Color( 0.25, 0.25, 0.26, 0.8 )">
|
||||
<theme_item name="current_line_color" type="Color" default="Color(0.25, 0.25, 0.26, 0.8)">
|
||||
</theme_item>
|
||||
<theme_item name="executing_line" type="Texture2D">
|
||||
</theme_item>
|
||||
<theme_item name="executing_line_color" type="Color" default="Color( 0.98, 0.89, 0.27, 1 )">
|
||||
<theme_item name="executing_line_color" type="Color" default="Color(0.98, 0.89, 0.27, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="focus" type="StyleBox">
|
||||
</theme_item>
|
||||
|
@ -572,19 +572,19 @@
|
|||
</theme_item>
|
||||
<theme_item name="font" type="Font">
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [CodeEdit].
|
||||
</theme_item>
|
||||
<theme_item name="font_readonly_color" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
<theme_item name="font_readonly_color" type="Color" default="Color(0.88, 0.88, 0.88, 0.5)">
|
||||
</theme_item>
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the [CodeEdit]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="line_number_color" type="Color" default="Color( 0.67, 0.67, 0.67, 0.4 )">
|
||||
<theme_item name="line_number_color" type="Color" default="Color(0.67, 0.67, 0.67, 0.4)">
|
||||
</theme_item>
|
||||
<theme_item name="line_spacing" type="int" default="4">
|
||||
</theme_item>
|
||||
|
@ -595,15 +595,15 @@
|
|||
</theme_item>
|
||||
<theme_item name="read_only" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="safe_line_number_color" type="Color" default="Color( 0.67, 0.78, 0.67, 0.6 )">
|
||||
<theme_item name="safe_line_number_color" type="Color" default="Color(0.67, 0.78, 0.67, 0.6)">
|
||||
</theme_item>
|
||||
<theme_item name="selection_color" type="Color" default="Color( 0.49, 0.49, 0.49, 1 )">
|
||||
<theme_item name="selection_color" type="Color" default="Color(0.49, 0.49, 0.49, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="space" type="Texture2D">
|
||||
</theme_item>
|
||||
<theme_item name="tab" type="Texture2D">
|
||||
</theme_item>
|
||||
<theme_item name="word_highlighted_color" type="Color" default="Color( 0.8, 0.9, 0.9, 0.15 )">
|
||||
<theme_item name="word_highlighted_color" type="Color" default="Color(0.8, 0.9, 0.9, 0.15)">
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
<member name="color_regions" type="Dictionary" setter="set_color_regions" getter="get_color_regions" default="{}">
|
||||
Sets the color regions. All existing regions will be removed. The [Dictionary] key is the region start and end key, separated by a space. The value is the region color.
|
||||
</member>
|
||||
<member name="function_color" type="Color" setter="set_function_color" getter="get_function_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="function_color" type="Color" setter="set_function_color" getter="get_function_color" default="Color(0, 0, 0, 1)">
|
||||
Sets color for functions. A function is a non-keyword string followed by a '('.
|
||||
</member>
|
||||
<member name="keyword_colors" type="Dictionary" setter="set_keyword_colors" getter="get_keyword_colors" default="{}">
|
||||
|
@ -158,13 +158,13 @@
|
|||
<member name="member_keyword_colors" type="Dictionary" setter="set_member_keyword_colors" getter="get_member_keyword_colors" default="{}">
|
||||
Sets the member keyword colors. All existing member keyword will be removed. The [Dictionary] key is the member keyword. The value is the member keyword color.
|
||||
</member>
|
||||
<member name="member_variable_color" type="Color" setter="set_member_variable_color" getter="get_member_variable_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="member_variable_color" type="Color" setter="set_member_variable_color" getter="get_member_variable_color" default="Color(0, 0, 0, 1)">
|
||||
Sets color for member variables. A member variable is non-keyword, non-function string proceeded with a '.'.
|
||||
</member>
|
||||
<member name="number_color" type="Color" setter="set_number_color" getter="get_number_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="number_color" type="Color" setter="set_number_color" getter="get_number_color" default="Color(0, 0, 0, 1)">
|
||||
Sets the color for numbers.
|
||||
</member>
|
||||
<member name="symbol_color" type="Color" setter="set_symbol_color" getter="get_symbol_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="symbol_color" type="Color" setter="set_symbol_color" getter="get_symbol_color" default="Color(0, 0, 0, 1)">
|
||||
Sets the color for symbols.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<member name="one_way_collision_margin" type="float" setter="set_one_way_collision_margin" getter="get_one_way_collision_margin" default="1.0">
|
||||
The margin used for one-way collision (in pixels). Higher values will make the shape thicker, and work better for colliders that enter the polygon at a high velocity.
|
||||
</member>
|
||||
<member name="polygon" type="PackedVector2Array" setter="set_polygon" getter="get_polygon" default="PackedVector2Array( )">
|
||||
<member name="polygon" type="PackedVector2Array" setter="set_polygon" getter="get_polygon" default="PackedVector2Array()">
|
||||
The polygon's list of vertices. The final point will be connected to the first. The returned value is a clone of the [PackedVector2Array], not a reference.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.04">
|
||||
The collision margin for the generated [Shape3D]. See [member Shape3D.margin] for more details.
|
||||
</member>
|
||||
<member name="polygon" type="PackedVector2Array" setter="set_polygon" getter="get_polygon" default="PackedVector2Array( )">
|
||||
<member name="polygon" type="PackedVector2Array" setter="set_polygon" getter="get_polygon" default="PackedVector2Array()">
|
||||
Array of vertices which define the polygon.
|
||||
[b]Note:[/b] The returned value is a copy of the original. Methods which mutate the size or properties of the return value will not impact the original polygon. To change properties of the polygon, assign it to a temporary variable and make changes before reassigning the [code]polygon[/code] member.
|
||||
</member>
|
||||
|
|
|
@ -139,9 +139,9 @@
|
|||
<method name="clamp" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="min" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
<argument index="0" name="min" type="Color" default="Color(0, 0, 0, 0)">
|
||||
</argument>
|
||||
<argument index="1" name="max" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="1" name="max" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Returns a new color with all components clamped between the components of [code]min[/code] and [code]max[/code], by running [method @GlobalScope.clamp] on each component.
|
||||
|
@ -575,442 +575,442 @@
|
|||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="ALICE_BLUE" value="Color( 0.94, 0.97, 1, 1 )">
|
||||
<constant name="ALICE_BLUE" value="Color(0.94, 0.97, 1, 1)">
|
||||
Alice blue color.
|
||||
</constant>
|
||||
<constant name="ANTIQUE_WHITE" value="Color( 0.98, 0.92, 0.84, 1 )">
|
||||
<constant name="ANTIQUE_WHITE" value="Color(0.98, 0.92, 0.84, 1)">
|
||||
Antique white color.
|
||||
</constant>
|
||||
<constant name="AQUA" value="Color( 0, 1, 1, 1 )">
|
||||
<constant name="AQUA" value="Color(0, 1, 1, 1)">
|
||||
Aqua color.
|
||||
</constant>
|
||||
<constant name="AQUAMARINE" value="Color( 0.5, 1, 0.83, 1 )">
|
||||
<constant name="AQUAMARINE" value="Color(0.5, 1, 0.83, 1)">
|
||||
Aquamarine color.
|
||||
</constant>
|
||||
<constant name="AZURE" value="Color( 0.94, 1, 1, 1 )">
|
||||
<constant name="AZURE" value="Color(0.94, 1, 1, 1)">
|
||||
Azure color.
|
||||
</constant>
|
||||
<constant name="BEIGE" value="Color( 0.96, 0.96, 0.86, 1 )">
|
||||
<constant name="BEIGE" value="Color(0.96, 0.96, 0.86, 1)">
|
||||
Beige color.
|
||||
</constant>
|
||||
<constant name="BISQUE" value="Color( 1, 0.89, 0.77, 1 )">
|
||||
<constant name="BISQUE" value="Color(1, 0.89, 0.77, 1)">
|
||||
Bisque color.
|
||||
</constant>
|
||||
<constant name="BLACK" value="Color( 0, 0, 0, 1 )">
|
||||
<constant name="BLACK" value="Color(0, 0, 0, 1)">
|
||||
Black color.
|
||||
</constant>
|
||||
<constant name="BLANCHED_ALMOND" value="Color( 1, 0.92, 0.8, 1 )">
|
||||
<constant name="BLANCHED_ALMOND" value="Color(1, 0.92, 0.8, 1)">
|
||||
Blanched almond color.
|
||||
</constant>
|
||||
<constant name="BLUE" value="Color( 0, 0, 1, 1 )">
|
||||
<constant name="BLUE" value="Color(0, 0, 1, 1)">
|
||||
Blue color.
|
||||
</constant>
|
||||
<constant name="BLUE_VIOLET" value="Color( 0.54, 0.17, 0.89, 1 )">
|
||||
<constant name="BLUE_VIOLET" value="Color(0.54, 0.17, 0.89, 1)">
|
||||
Blue violet color.
|
||||
</constant>
|
||||
<constant name="BROWN" value="Color( 0.65, 0.16, 0.16, 1 )">
|
||||
<constant name="BROWN" value="Color(0.65, 0.16, 0.16, 1)">
|
||||
Brown color.
|
||||
</constant>
|
||||
<constant name="BURLYWOOD" value="Color( 0.87, 0.72, 0.53, 1 )">
|
||||
<constant name="BURLYWOOD" value="Color(0.87, 0.72, 0.53, 1)">
|
||||
Burlywood color.
|
||||
</constant>
|
||||
<constant name="CADET_BLUE" value="Color( 0.37, 0.62, 0.63, 1 )">
|
||||
<constant name="CADET_BLUE" value="Color(0.37, 0.62, 0.63, 1)">
|
||||
Cadet blue color.
|
||||
</constant>
|
||||
<constant name="CHARTREUSE" value="Color( 0.5, 1, 0, 1 )">
|
||||
<constant name="CHARTREUSE" value="Color(0.5, 1, 0, 1)">
|
||||
Chartreuse color.
|
||||
</constant>
|
||||
<constant name="CHOCOLATE" value="Color( 0.82, 0.41, 0.12, 1 )">
|
||||
<constant name="CHOCOLATE" value="Color(0.82, 0.41, 0.12, 1)">
|
||||
Chocolate color.
|
||||
</constant>
|
||||
<constant name="CORAL" value="Color( 1, 0.5, 0.31, 1 )">
|
||||
<constant name="CORAL" value="Color(1, 0.5, 0.31, 1)">
|
||||
Coral color.
|
||||
</constant>
|
||||
<constant name="CORNFLOWER_BLUE" value="Color( 0.39, 0.58, 0.93, 1 )">
|
||||
<constant name="CORNFLOWER_BLUE" value="Color(0.39, 0.58, 0.93, 1)">
|
||||
Cornflower blue color.
|
||||
</constant>
|
||||
<constant name="CORNSILK" value="Color( 1, 0.97, 0.86, 1 )">
|
||||
<constant name="CORNSILK" value="Color(1, 0.97, 0.86, 1)">
|
||||
Cornsilk color.
|
||||
</constant>
|
||||
<constant name="CRIMSON" value="Color( 0.86, 0.08, 0.24, 1 )">
|
||||
<constant name="CRIMSON" value="Color(0.86, 0.08, 0.24, 1)">
|
||||
Crimson color.
|
||||
</constant>
|
||||
<constant name="CYAN" value="Color( 0, 1, 1, 1 )">
|
||||
<constant name="CYAN" value="Color(0, 1, 1, 1)">
|
||||
Cyan color.
|
||||
</constant>
|
||||
<constant name="DARK_BLUE" value="Color( 0, 0, 0.55, 1 )">
|
||||
<constant name="DARK_BLUE" value="Color(0, 0, 0.55, 1)">
|
||||
Dark blue color.
|
||||
</constant>
|
||||
<constant name="DARK_CYAN" value="Color( 0, 0.55, 0.55, 1 )">
|
||||
<constant name="DARK_CYAN" value="Color(0, 0.55, 0.55, 1)">
|
||||
Dark cyan color.
|
||||
</constant>
|
||||
<constant name="DARK_GOLDENROD" value="Color( 0.72, 0.53, 0.04, 1 )">
|
||||
<constant name="DARK_GOLDENROD" value="Color(0.72, 0.53, 0.04, 1)">
|
||||
Dark goldenrod color.
|
||||
</constant>
|
||||
<constant name="DARK_GRAY" value="Color( 0.66, 0.66, 0.66, 1 )">
|
||||
<constant name="DARK_GRAY" value="Color(0.66, 0.66, 0.66, 1)">
|
||||
Dark gray color.
|
||||
</constant>
|
||||
<constant name="DARK_GREEN" value="Color( 0, 0.39, 0, 1 )">
|
||||
<constant name="DARK_GREEN" value="Color(0, 0.39, 0, 1)">
|
||||
Dark green color.
|
||||
</constant>
|
||||
<constant name="DARK_KHAKI" value="Color( 0.74, 0.72, 0.42, 1 )">
|
||||
<constant name="DARK_KHAKI" value="Color(0.74, 0.72, 0.42, 1)">
|
||||
Dark khaki color.
|
||||
</constant>
|
||||
<constant name="DARK_MAGENTA" value="Color( 0.55, 0, 0.55, 1 )">
|
||||
<constant name="DARK_MAGENTA" value="Color(0.55, 0, 0.55, 1)">
|
||||
Dark magenta color.
|
||||
</constant>
|
||||
<constant name="DARK_OLIVE_GREEN" value="Color( 0.33, 0.42, 0.18, 1 )">
|
||||
<constant name="DARK_OLIVE_GREEN" value="Color(0.33, 0.42, 0.18, 1)">
|
||||
Dark olive green color.
|
||||
</constant>
|
||||
<constant name="DARK_ORANGE" value="Color( 1, 0.55, 0, 1 )">
|
||||
<constant name="DARK_ORANGE" value="Color(1, 0.55, 0, 1)">
|
||||
Dark orange color.
|
||||
</constant>
|
||||
<constant name="DARK_ORCHID" value="Color( 0.6, 0.2, 0.8, 1 )">
|
||||
<constant name="DARK_ORCHID" value="Color(0.6, 0.2, 0.8, 1)">
|
||||
Dark orchid color.
|
||||
</constant>
|
||||
<constant name="DARK_RED" value="Color( 0.55, 0, 0, 1 )">
|
||||
<constant name="DARK_RED" value="Color(0.55, 0, 0, 1)">
|
||||
Dark red color.
|
||||
</constant>
|
||||
<constant name="DARK_SALMON" value="Color( 0.91, 0.59, 0.48, 1 )">
|
||||
<constant name="DARK_SALMON" value="Color(0.91, 0.59, 0.48, 1)">
|
||||
Dark salmon color.
|
||||
</constant>
|
||||
<constant name="DARK_SEA_GREEN" value="Color( 0.56, 0.74, 0.56, 1 )">
|
||||
<constant name="DARK_SEA_GREEN" value="Color(0.56, 0.74, 0.56, 1)">
|
||||
Dark sea green color.
|
||||
</constant>
|
||||
<constant name="DARK_SLATE_BLUE" value="Color( 0.28, 0.24, 0.55, 1 )">
|
||||
<constant name="DARK_SLATE_BLUE" value="Color(0.28, 0.24, 0.55, 1)">
|
||||
Dark slate blue color.
|
||||
</constant>
|
||||
<constant name="DARK_SLATE_GRAY" value="Color( 0.18, 0.31, 0.31, 1 )">
|
||||
<constant name="DARK_SLATE_GRAY" value="Color(0.18, 0.31, 0.31, 1)">
|
||||
Dark slate gray color.
|
||||
</constant>
|
||||
<constant name="DARK_TURQUOISE" value="Color( 0, 0.81, 0.82, 1 )">
|
||||
<constant name="DARK_TURQUOISE" value="Color(0, 0.81, 0.82, 1)">
|
||||
Dark turquoise color.
|
||||
</constant>
|
||||
<constant name="DARK_VIOLET" value="Color( 0.58, 0, 0.83, 1 )">
|
||||
<constant name="DARK_VIOLET" value="Color(0.58, 0, 0.83, 1)">
|
||||
Dark violet color.
|
||||
</constant>
|
||||
<constant name="DEEP_PINK" value="Color( 1, 0.08, 0.58, 1 )">
|
||||
<constant name="DEEP_PINK" value="Color(1, 0.08, 0.58, 1)">
|
||||
Deep pink color.
|
||||
</constant>
|
||||
<constant name="DEEP_SKY_BLUE" value="Color( 0, 0.75, 1, 1 )">
|
||||
<constant name="DEEP_SKY_BLUE" value="Color(0, 0.75, 1, 1)">
|
||||
Deep sky blue color.
|
||||
</constant>
|
||||
<constant name="DIM_GRAY" value="Color( 0.41, 0.41, 0.41, 1 )">
|
||||
<constant name="DIM_GRAY" value="Color(0.41, 0.41, 0.41, 1)">
|
||||
Dim gray color.
|
||||
</constant>
|
||||
<constant name="DODGER_BLUE" value="Color( 0.12, 0.56, 1, 1 )">
|
||||
<constant name="DODGER_BLUE" value="Color(0.12, 0.56, 1, 1)">
|
||||
Dodger blue color.
|
||||
</constant>
|
||||
<constant name="FIREBRICK" value="Color( 0.7, 0.13, 0.13, 1 )">
|
||||
<constant name="FIREBRICK" value="Color(0.7, 0.13, 0.13, 1)">
|
||||
Firebrick color.
|
||||
</constant>
|
||||
<constant name="FLORAL_WHITE" value="Color( 1, 0.98, 0.94, 1 )">
|
||||
<constant name="FLORAL_WHITE" value="Color(1, 0.98, 0.94, 1)">
|
||||
Floral white color.
|
||||
</constant>
|
||||
<constant name="FOREST_GREEN" value="Color( 0.13, 0.55, 0.13, 1 )">
|
||||
<constant name="FOREST_GREEN" value="Color(0.13, 0.55, 0.13, 1)">
|
||||
Forest green color.
|
||||
</constant>
|
||||
<constant name="FUCHSIA" value="Color( 1, 0, 1, 1 )">
|
||||
<constant name="FUCHSIA" value="Color(1, 0, 1, 1)">
|
||||
Fuchsia color.
|
||||
</constant>
|
||||
<constant name="GAINSBORO" value="Color( 0.86, 0.86, 0.86, 1 )">
|
||||
<constant name="GAINSBORO" value="Color(0.86, 0.86, 0.86, 1)">
|
||||
Gainsboro color.
|
||||
</constant>
|
||||
<constant name="GHOST_WHITE" value="Color( 0.97, 0.97, 1, 1 )">
|
||||
<constant name="GHOST_WHITE" value="Color(0.97, 0.97, 1, 1)">
|
||||
Ghost white color.
|
||||
</constant>
|
||||
<constant name="GOLD" value="Color( 1, 0.84, 0, 1 )">
|
||||
<constant name="GOLD" value="Color(1, 0.84, 0, 1)">
|
||||
Gold color.
|
||||
</constant>
|
||||
<constant name="GOLDENROD" value="Color( 0.85, 0.65, 0.13, 1 )">
|
||||
<constant name="GOLDENROD" value="Color(0.85, 0.65, 0.13, 1)">
|
||||
Goldenrod color.
|
||||
</constant>
|
||||
<constant name="GRAY" value="Color( 0.75, 0.75, 0.75, 1 )">
|
||||
<constant name="GRAY" value="Color(0.75, 0.75, 0.75, 1)">
|
||||
Gray color.
|
||||
</constant>
|
||||
<constant name="GREEN" value="Color( 0, 1, 0, 1 )">
|
||||
<constant name="GREEN" value="Color(0, 1, 0, 1)">
|
||||
Green color.
|
||||
</constant>
|
||||
<constant name="GREEN_YELLOW" value="Color( 0.68, 1, 0.18, 1 )">
|
||||
<constant name="GREEN_YELLOW" value="Color(0.68, 1, 0.18, 1)">
|
||||
Green yellow color.
|
||||
</constant>
|
||||
<constant name="HONEYDEW" value="Color( 0.94, 1, 0.94, 1 )">
|
||||
<constant name="HONEYDEW" value="Color(0.94, 1, 0.94, 1)">
|
||||
Honeydew color.
|
||||
</constant>
|
||||
<constant name="HOT_PINK" value="Color( 1, 0.41, 0.71, 1 )">
|
||||
<constant name="HOT_PINK" value="Color(1, 0.41, 0.71, 1)">
|
||||
Hot pink color.
|
||||
</constant>
|
||||
<constant name="INDIAN_RED" value="Color( 0.8, 0.36, 0.36, 1 )">
|
||||
<constant name="INDIAN_RED" value="Color(0.8, 0.36, 0.36, 1)">
|
||||
Indian red color.
|
||||
</constant>
|
||||
<constant name="INDIGO" value="Color( 0.29, 0, 0.51, 1 )">
|
||||
<constant name="INDIGO" value="Color(0.29, 0, 0.51, 1)">
|
||||
Indigo color.
|
||||
</constant>
|
||||
<constant name="IVORY" value="Color( 1, 1, 0.94, 1 )">
|
||||
<constant name="IVORY" value="Color(1, 1, 0.94, 1)">
|
||||
Ivory color.
|
||||
</constant>
|
||||
<constant name="KHAKI" value="Color( 0.94, 0.9, 0.55, 1 )">
|
||||
<constant name="KHAKI" value="Color(0.94, 0.9, 0.55, 1)">
|
||||
Khaki color.
|
||||
</constant>
|
||||
<constant name="LAVENDER" value="Color( 0.9, 0.9, 0.98, 1 )">
|
||||
<constant name="LAVENDER" value="Color(0.9, 0.9, 0.98, 1)">
|
||||
Lavender color.
|
||||
</constant>
|
||||
<constant name="LAVENDER_BLUSH" value="Color( 1, 0.94, 0.96, 1 )">
|
||||
<constant name="LAVENDER_BLUSH" value="Color(1, 0.94, 0.96, 1)">
|
||||
Lavender blush color.
|
||||
</constant>
|
||||
<constant name="LAWN_GREEN" value="Color( 0.49, 0.99, 0, 1 )">
|
||||
<constant name="LAWN_GREEN" value="Color(0.49, 0.99, 0, 1)">
|
||||
Lawn green color.
|
||||
</constant>
|
||||
<constant name="LEMON_CHIFFON" value="Color( 1, 0.98, 0.8, 1 )">
|
||||
<constant name="LEMON_CHIFFON" value="Color(1, 0.98, 0.8, 1)">
|
||||
Lemon chiffon color.
|
||||
</constant>
|
||||
<constant name="LIGHT_BLUE" value="Color( 0.68, 0.85, 0.9, 1 )">
|
||||
<constant name="LIGHT_BLUE" value="Color(0.68, 0.85, 0.9, 1)">
|
||||
Light blue color.
|
||||
</constant>
|
||||
<constant name="LIGHT_CORAL" value="Color( 0.94, 0.5, 0.5, 1 )">
|
||||
<constant name="LIGHT_CORAL" value="Color(0.94, 0.5, 0.5, 1)">
|
||||
Light coral color.
|
||||
</constant>
|
||||
<constant name="LIGHT_CYAN" value="Color( 0.88, 1, 1, 1 )">
|
||||
<constant name="LIGHT_CYAN" value="Color(0.88, 1, 1, 1)">
|
||||
Light cyan color.
|
||||
</constant>
|
||||
<constant name="LIGHT_GOLDENROD" value="Color( 0.98, 0.98, 0.82, 1 )">
|
||||
<constant name="LIGHT_GOLDENROD" value="Color(0.98, 0.98, 0.82, 1)">
|
||||
Light goldenrod color.
|
||||
</constant>
|
||||
<constant name="LIGHT_GRAY" value="Color( 0.83, 0.83, 0.83, 1 )">
|
||||
<constant name="LIGHT_GRAY" value="Color(0.83, 0.83, 0.83, 1)">
|
||||
Light gray color.
|
||||
</constant>
|
||||
<constant name="LIGHT_GREEN" value="Color( 0.56, 0.93, 0.56, 1 )">
|
||||
<constant name="LIGHT_GREEN" value="Color(0.56, 0.93, 0.56, 1)">
|
||||
Light green color.
|
||||
</constant>
|
||||
<constant name="LIGHT_PINK" value="Color( 1, 0.71, 0.76, 1 )">
|
||||
<constant name="LIGHT_PINK" value="Color(1, 0.71, 0.76, 1)">
|
||||
Light pink color.
|
||||
</constant>
|
||||
<constant name="LIGHT_SALMON" value="Color( 1, 0.63, 0.48, 1 )">
|
||||
<constant name="LIGHT_SALMON" value="Color(1, 0.63, 0.48, 1)">
|
||||
Light salmon color.
|
||||
</constant>
|
||||
<constant name="LIGHT_SEA_GREEN" value="Color( 0.13, 0.7, 0.67, 1 )">
|
||||
<constant name="LIGHT_SEA_GREEN" value="Color(0.13, 0.7, 0.67, 1)">
|
||||
Light sea green color.
|
||||
</constant>
|
||||
<constant name="LIGHT_SKY_BLUE" value="Color( 0.53, 0.81, 0.98, 1 )">
|
||||
<constant name="LIGHT_SKY_BLUE" value="Color(0.53, 0.81, 0.98, 1)">
|
||||
Light sky blue color.
|
||||
</constant>
|
||||
<constant name="LIGHT_SLATE_GRAY" value="Color( 0.47, 0.53, 0.6, 1 )">
|
||||
<constant name="LIGHT_SLATE_GRAY" value="Color(0.47, 0.53, 0.6, 1)">
|
||||
Light slate gray color.
|
||||
</constant>
|
||||
<constant name="LIGHT_STEEL_BLUE" value="Color( 0.69, 0.77, 0.87, 1 )">
|
||||
<constant name="LIGHT_STEEL_BLUE" value="Color(0.69, 0.77, 0.87, 1)">
|
||||
Light steel blue color.
|
||||
</constant>
|
||||
<constant name="LIGHT_YELLOW" value="Color( 1, 1, 0.88, 1 )">
|
||||
<constant name="LIGHT_YELLOW" value="Color(1, 1, 0.88, 1)">
|
||||
Light yellow color.
|
||||
</constant>
|
||||
<constant name="LIME" value="Color( 0, 1, 0, 1 )">
|
||||
<constant name="LIME" value="Color(0, 1, 0, 1)">
|
||||
Lime color.
|
||||
</constant>
|
||||
<constant name="LIME_GREEN" value="Color( 0.2, 0.8, 0.2, 1 )">
|
||||
<constant name="LIME_GREEN" value="Color(0.2, 0.8, 0.2, 1)">
|
||||
Lime green color.
|
||||
</constant>
|
||||
<constant name="LINEN" value="Color( 0.98, 0.94, 0.9, 1 )">
|
||||
<constant name="LINEN" value="Color(0.98, 0.94, 0.9, 1)">
|
||||
Linen color.
|
||||
</constant>
|
||||
<constant name="MAGENTA" value="Color( 1, 0, 1, 1 )">
|
||||
<constant name="MAGENTA" value="Color(1, 0, 1, 1)">
|
||||
Magenta color.
|
||||
</constant>
|
||||
<constant name="MAROON" value="Color( 0.69, 0.19, 0.38, 1 )">
|
||||
<constant name="MAROON" value="Color(0.69, 0.19, 0.38, 1)">
|
||||
Maroon color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_AQUAMARINE" value="Color( 0.4, 0.8, 0.67, 1 )">
|
||||
<constant name="MEDIUM_AQUAMARINE" value="Color(0.4, 0.8, 0.67, 1)">
|
||||
Medium aquamarine color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_BLUE" value="Color( 0, 0, 0.8, 1 )">
|
||||
<constant name="MEDIUM_BLUE" value="Color(0, 0, 0.8, 1)">
|
||||
Medium blue color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_ORCHID" value="Color( 0.73, 0.33, 0.83, 1 )">
|
||||
<constant name="MEDIUM_ORCHID" value="Color(0.73, 0.33, 0.83, 1)">
|
||||
Medium orchid color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_PURPLE" value="Color( 0.58, 0.44, 0.86, 1 )">
|
||||
<constant name="MEDIUM_PURPLE" value="Color(0.58, 0.44, 0.86, 1)">
|
||||
Medium purple color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_SEA_GREEN" value="Color( 0.24, 0.7, 0.44, 1 )">
|
||||
<constant name="MEDIUM_SEA_GREEN" value="Color(0.24, 0.7, 0.44, 1)">
|
||||
Medium sea green color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_SLATE_BLUE" value="Color( 0.48, 0.41, 0.93, 1 )">
|
||||
<constant name="MEDIUM_SLATE_BLUE" value="Color(0.48, 0.41, 0.93, 1)">
|
||||
Medium slate blue color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_SPRING_GREEN" value="Color( 0, 0.98, 0.6, 1 )">
|
||||
<constant name="MEDIUM_SPRING_GREEN" value="Color(0, 0.98, 0.6, 1)">
|
||||
Medium spring green color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_TURQUOISE" value="Color( 0.28, 0.82, 0.8, 1 )">
|
||||
<constant name="MEDIUM_TURQUOISE" value="Color(0.28, 0.82, 0.8, 1)">
|
||||
Medium turquoise color.
|
||||
</constant>
|
||||
<constant name="MEDIUM_VIOLET_RED" value="Color( 0.78, 0.08, 0.52, 1 )">
|
||||
<constant name="MEDIUM_VIOLET_RED" value="Color(0.78, 0.08, 0.52, 1)">
|
||||
Medium violet red color.
|
||||
</constant>
|
||||
<constant name="MIDNIGHT_BLUE" value="Color( 0.1, 0.1, 0.44, 1 )">
|
||||
<constant name="MIDNIGHT_BLUE" value="Color(0.1, 0.1, 0.44, 1)">
|
||||
Midnight blue color.
|
||||
</constant>
|
||||
<constant name="MINT_CREAM" value="Color( 0.96, 1, 0.98, 1 )">
|
||||
<constant name="MINT_CREAM" value="Color(0.96, 1, 0.98, 1)">
|
||||
Mint cream color.
|
||||
</constant>
|
||||
<constant name="MISTY_ROSE" value="Color( 1, 0.89, 0.88, 1 )">
|
||||
<constant name="MISTY_ROSE" value="Color(1, 0.89, 0.88, 1)">
|
||||
Misty rose color.
|
||||
</constant>
|
||||
<constant name="MOCCASIN" value="Color( 1, 0.89, 0.71, 1 )">
|
||||
<constant name="MOCCASIN" value="Color(1, 0.89, 0.71, 1)">
|
||||
Moccasin color.
|
||||
</constant>
|
||||
<constant name="NAVAJO_WHITE" value="Color( 1, 0.87, 0.68, 1 )">
|
||||
<constant name="NAVAJO_WHITE" value="Color(1, 0.87, 0.68, 1)">
|
||||
Navajo white color.
|
||||
</constant>
|
||||
<constant name="NAVY_BLUE" value="Color( 0, 0, 0.5, 1 )">
|
||||
<constant name="NAVY_BLUE" value="Color(0, 0, 0.5, 1)">
|
||||
Navy blue color.
|
||||
</constant>
|
||||
<constant name="OLD_LACE" value="Color( 0.99, 0.96, 0.9, 1 )">
|
||||
<constant name="OLD_LACE" value="Color(0.99, 0.96, 0.9, 1)">
|
||||
Old lace color.
|
||||
</constant>
|
||||
<constant name="OLIVE" value="Color( 0.5, 0.5, 0, 1 )">
|
||||
<constant name="OLIVE" value="Color(0.5, 0.5, 0, 1)">
|
||||
Olive color.
|
||||
</constant>
|
||||
<constant name="OLIVE_DRAB" value="Color( 0.42, 0.56, 0.14, 1 )">
|
||||
<constant name="OLIVE_DRAB" value="Color(0.42, 0.56, 0.14, 1)">
|
||||
Olive drab color.
|
||||
</constant>
|
||||
<constant name="ORANGE" value="Color( 1, 0.65, 0, 1 )">
|
||||
<constant name="ORANGE" value="Color(1, 0.65, 0, 1)">
|
||||
Orange color.
|
||||
</constant>
|
||||
<constant name="ORANGE_RED" value="Color( 1, 0.27, 0, 1 )">
|
||||
<constant name="ORANGE_RED" value="Color(1, 0.27, 0, 1)">
|
||||
Orange red color.
|
||||
</constant>
|
||||
<constant name="ORCHID" value="Color( 0.85, 0.44, 0.84, 1 )">
|
||||
<constant name="ORCHID" value="Color(0.85, 0.44, 0.84, 1)">
|
||||
Orchid color.
|
||||
</constant>
|
||||
<constant name="PALE_GOLDENROD" value="Color( 0.93, 0.91, 0.67, 1 )">
|
||||
<constant name="PALE_GOLDENROD" value="Color(0.93, 0.91, 0.67, 1)">
|
||||
Pale goldenrod color.
|
||||
</constant>
|
||||
<constant name="PALE_GREEN" value="Color( 0.6, 0.98, 0.6, 1 )">
|
||||
<constant name="PALE_GREEN" value="Color(0.6, 0.98, 0.6, 1)">
|
||||
Pale green color.
|
||||
</constant>
|
||||
<constant name="PALE_TURQUOISE" value="Color( 0.69, 0.93, 0.93, 1 )">
|
||||
<constant name="PALE_TURQUOISE" value="Color(0.69, 0.93, 0.93, 1)">
|
||||
Pale turquoise color.
|
||||
</constant>
|
||||
<constant name="PALE_VIOLET_RED" value="Color( 0.86, 0.44, 0.58, 1 )">
|
||||
<constant name="PALE_VIOLET_RED" value="Color(0.86, 0.44, 0.58, 1)">
|
||||
Pale violet red color.
|
||||
</constant>
|
||||
<constant name="PAPAYA_WHIP" value="Color( 1, 0.94, 0.84, 1 )">
|
||||
<constant name="PAPAYA_WHIP" value="Color(1, 0.94, 0.84, 1)">
|
||||
Papaya whip color.
|
||||
</constant>
|
||||
<constant name="PEACH_PUFF" value="Color( 1, 0.85, 0.73, 1 )">
|
||||
<constant name="PEACH_PUFF" value="Color(1, 0.85, 0.73, 1)">
|
||||
Peach puff color.
|
||||
</constant>
|
||||
<constant name="PERU" value="Color( 0.8, 0.52, 0.25, 1 )">
|
||||
<constant name="PERU" value="Color(0.8, 0.52, 0.25, 1)">
|
||||
Peru color.
|
||||
</constant>
|
||||
<constant name="PINK" value="Color( 1, 0.75, 0.8, 1 )">
|
||||
<constant name="PINK" value="Color(1, 0.75, 0.8, 1)">
|
||||
Pink color.
|
||||
</constant>
|
||||
<constant name="PLUM" value="Color( 0.87, 0.63, 0.87, 1 )">
|
||||
<constant name="PLUM" value="Color(0.87, 0.63, 0.87, 1)">
|
||||
Plum color.
|
||||
</constant>
|
||||
<constant name="POWDER_BLUE" value="Color( 0.69, 0.88, 0.9, 1 )">
|
||||
<constant name="POWDER_BLUE" value="Color(0.69, 0.88, 0.9, 1)">
|
||||
Powder blue color.
|
||||
</constant>
|
||||
<constant name="PURPLE" value="Color( 0.63, 0.13, 0.94, 1 )">
|
||||
<constant name="PURPLE" value="Color(0.63, 0.13, 0.94, 1)">
|
||||
Purple color.
|
||||
</constant>
|
||||
<constant name="REBECCA_PURPLE" value="Color( 0.4, 0.2, 0.6, 1 )">
|
||||
<constant name="REBECCA_PURPLE" value="Color(0.4, 0.2, 0.6, 1)">
|
||||
Rebecca purple color.
|
||||
</constant>
|
||||
<constant name="RED" value="Color( 1, 0, 0, 1 )">
|
||||
<constant name="RED" value="Color(1, 0, 0, 1)">
|
||||
Red color.
|
||||
</constant>
|
||||
<constant name="ROSY_BROWN" value="Color( 0.74, 0.56, 0.56, 1 )">
|
||||
<constant name="ROSY_BROWN" value="Color(0.74, 0.56, 0.56, 1)">
|
||||
Rosy brown color.
|
||||
</constant>
|
||||
<constant name="ROYAL_BLUE" value="Color( 0.25, 0.41, 0.88, 1 )">
|
||||
<constant name="ROYAL_BLUE" value="Color(0.25, 0.41, 0.88, 1)">
|
||||
Royal blue color.
|
||||
</constant>
|
||||
<constant name="SADDLE_BROWN" value="Color( 0.55, 0.27, 0.07, 1 )">
|
||||
<constant name="SADDLE_BROWN" value="Color(0.55, 0.27, 0.07, 1)">
|
||||
Saddle brown color.
|
||||
</constant>
|
||||
<constant name="SALMON" value="Color( 0.98, 0.5, 0.45, 1 )">
|
||||
<constant name="SALMON" value="Color(0.98, 0.5, 0.45, 1)">
|
||||
Salmon color.
|
||||
</constant>
|
||||
<constant name="SANDY_BROWN" value="Color( 0.96, 0.64, 0.38, 1 )">
|
||||
<constant name="SANDY_BROWN" value="Color(0.96, 0.64, 0.38, 1)">
|
||||
Sandy brown color.
|
||||
</constant>
|
||||
<constant name="SEA_GREEN" value="Color( 0.18, 0.55, 0.34, 1 )">
|
||||
<constant name="SEA_GREEN" value="Color(0.18, 0.55, 0.34, 1)">
|
||||
Sea green color.
|
||||
</constant>
|
||||
<constant name="SEASHELL" value="Color( 1, 0.96, 0.93, 1 )">
|
||||
<constant name="SEASHELL" value="Color(1, 0.96, 0.93, 1)">
|
||||
Seashell color.
|
||||
</constant>
|
||||
<constant name="SIENNA" value="Color( 0.63, 0.32, 0.18, 1 )">
|
||||
<constant name="SIENNA" value="Color(0.63, 0.32, 0.18, 1)">
|
||||
Sienna color.
|
||||
</constant>
|
||||
<constant name="SILVER" value="Color( 0.75, 0.75, 0.75, 1 )">
|
||||
<constant name="SILVER" value="Color(0.75, 0.75, 0.75, 1)">
|
||||
Silver color.
|
||||
</constant>
|
||||
<constant name="SKY_BLUE" value="Color( 0.53, 0.81, 0.92, 1 )">
|
||||
<constant name="SKY_BLUE" value="Color(0.53, 0.81, 0.92, 1)">
|
||||
Sky blue color.
|
||||
</constant>
|
||||
<constant name="SLATE_BLUE" value="Color( 0.42, 0.35, 0.8, 1 )">
|
||||
<constant name="SLATE_BLUE" value="Color(0.42, 0.35, 0.8, 1)">
|
||||
Slate blue color.
|
||||
</constant>
|
||||
<constant name="SLATE_GRAY" value="Color( 0.44, 0.5, 0.56, 1 )">
|
||||
<constant name="SLATE_GRAY" value="Color(0.44, 0.5, 0.56, 1)">
|
||||
Slate gray color.
|
||||
</constant>
|
||||
<constant name="SNOW" value="Color( 1, 0.98, 0.98, 1 )">
|
||||
<constant name="SNOW" value="Color(1, 0.98, 0.98, 1)">
|
||||
Snow color.
|
||||
</constant>
|
||||
<constant name="SPRING_GREEN" value="Color( 0, 1, 0.5, 1 )">
|
||||
<constant name="SPRING_GREEN" value="Color(0, 1, 0.5, 1)">
|
||||
Spring green color.
|
||||
</constant>
|
||||
<constant name="STEEL_BLUE" value="Color( 0.27, 0.51, 0.71, 1 )">
|
||||
<constant name="STEEL_BLUE" value="Color(0.27, 0.51, 0.71, 1)">
|
||||
Steel blue color.
|
||||
</constant>
|
||||
<constant name="TAN" value="Color( 0.82, 0.71, 0.55, 1 )">
|
||||
<constant name="TAN" value="Color(0.82, 0.71, 0.55, 1)">
|
||||
Tan color.
|
||||
</constant>
|
||||
<constant name="TEAL" value="Color( 0, 0.5, 0.5, 1 )">
|
||||
<constant name="TEAL" value="Color(0, 0.5, 0.5, 1)">
|
||||
Teal color.
|
||||
</constant>
|
||||
<constant name="THISTLE" value="Color( 0.85, 0.75, 0.85, 1 )">
|
||||
<constant name="THISTLE" value="Color(0.85, 0.75, 0.85, 1)">
|
||||
Thistle color.
|
||||
</constant>
|
||||
<constant name="TOMATO" value="Color( 1, 0.39, 0.28, 1 )">
|
||||
<constant name="TOMATO" value="Color(1, 0.39, 0.28, 1)">
|
||||
Tomato color.
|
||||
</constant>
|
||||
<constant name="TRANSPARENT" value="Color( 1, 1, 1, 0 )">
|
||||
<constant name="TRANSPARENT" value="Color(1, 1, 1, 0)">
|
||||
Transparent color (white with zero alpha).
|
||||
</constant>
|
||||
<constant name="TURQUOISE" value="Color( 0.25, 0.88, 0.82, 1 )">
|
||||
<constant name="TURQUOISE" value="Color(0.25, 0.88, 0.82, 1)">
|
||||
Turquoise color.
|
||||
</constant>
|
||||
<constant name="VIOLET" value="Color( 0.93, 0.51, 0.93, 1 )">
|
||||
<constant name="VIOLET" value="Color(0.93, 0.51, 0.93, 1)">
|
||||
Violet color.
|
||||
</constant>
|
||||
<constant name="WEB_GRAY" value="Color( 0.5, 0.5, 0.5, 1 )">
|
||||
<constant name="WEB_GRAY" value="Color(0.5, 0.5, 0.5, 1)">
|
||||
Web gray color.
|
||||
</constant>
|
||||
<constant name="WEB_GREEN" value="Color( 0, 0.5, 0, 1 )">
|
||||
<constant name="WEB_GREEN" value="Color(0, 0.5, 0, 1)">
|
||||
Web green color.
|
||||
</constant>
|
||||
<constant name="WEB_MAROON" value="Color( 0.5, 0, 0, 1 )">
|
||||
<constant name="WEB_MAROON" value="Color(0.5, 0, 0, 1)">
|
||||
Web maroon color.
|
||||
</constant>
|
||||
<constant name="WEB_PURPLE" value="Color( 0.5, 0, 0.5, 1 )">
|
||||
<constant name="WEB_PURPLE" value="Color(0.5, 0, 0.5, 1)">
|
||||
Web purple color.
|
||||
</constant>
|
||||
<constant name="WHEAT" value="Color( 0.96, 0.87, 0.7, 1 )">
|
||||
<constant name="WHEAT" value="Color(0.96, 0.87, 0.7, 1)">
|
||||
Wheat color.
|
||||
</constant>
|
||||
<constant name="WHITE" value="Color( 1, 1, 1, 1 )">
|
||||
<constant name="WHITE" value="Color(1, 1, 1, 1)">
|
||||
White color.
|
||||
</constant>
|
||||
<constant name="WHITE_SMOKE" value="Color( 0.96, 0.96, 0.96, 1 )">
|
||||
<constant name="WHITE_SMOKE" value="Color(0.96, 0.96, 0.96, 1)">
|
||||
White smoke color.
|
||||
</constant>
|
||||
<constant name="YELLOW" value="Color( 1, 1, 0, 1 )">
|
||||
<constant name="YELLOW" value="Color(1, 1, 0, 1)">
|
||||
Yellow color.
|
||||
</constant>
|
||||
<constant name="YELLOW_GREEN" value="Color( 0.6, 0.8, 0.2, 1 )">
|
||||
<constant name="YELLOW_GREEN" value="Color(0.6, 0.8, 0.2, 1)">
|
||||
Yellow green color.
|
||||
</constant>
|
||||
</constants>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" default="Color(1, 1, 1, 1)">
|
||||
The currently selected color.
|
||||
</member>
|
||||
<member name="deferred_mode" type="bool" setter="set_deferred_mode" getter="is_deferred_mode" default="false">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" default="Color(0, 0, 0, 1)">
|
||||
The currently selected color.
|
||||
</member>
|
||||
<member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha" default="true">
|
||||
|
@ -70,19 +70,19 @@
|
|||
<theme_item name="font" type="Font">
|
||||
[Font] of the [ColorPickerButton]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Default text [Color] of the [ColorPickerButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.3 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color(0.9, 0.9, 0.9, 0.3)">
|
||||
Text [Color] used when the [ColorPickerButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Text [Color] used when the [ColorPickerButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [ColorPickerButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 0.8, 0.8, 0.8, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color(0.8, 0.8, 0.8, 1)">
|
||||
Text [Color] used when the [ColorPickerButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
|
||||
The fill color.
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="segments" type="PackedVector2Array" setter="set_segments" getter="get_segments" default="PackedVector2Array( )">
|
||||
<member name="segments" type="PackedVector2Array" setter="set_segments" getter="get_segments" default="PackedVector2Array()">
|
||||
The array of points that make up the [ConcavePolygonShape2D]'s line segments.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
[section]
|
||||
some_key=42
|
||||
string_example="Hello World3D!"
|
||||
a_vector=Vector3( 1, 0, 2 )
|
||||
a_vector=Vector3(1, 0, 2)
|
||||
[/codeblock]
|
||||
The stored data can be saved to or parsed from a file, though ConfigFile objects can also be used directly without accessing the filesystem.
|
||||
The following example shows how to parse an INI-style file from the system, read its contents and store new values in it:
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="min_size" type="Vector2i" setter="set_min_size" getter="get_min_size" override="true" default="Vector2i( 200, 70 )" />
|
||||
<member name="size" type="Vector2i" setter="set_size" getter="get_size" override="true" default="Vector2i( 200, 100 )" />
|
||||
<member name="min_size" type="Vector2i" setter="set_min_size" getter="get_min_size" override="true" default="Vector2i(200, 70)" />
|
||||
<member name="size" type="Vector2i" setter="set_size" getter="get_size" override="true" default="Vector2i(200, 100)" />
|
||||
<member name="title" type="String" setter="set_title" getter="get_title" override="true" default=""Please Confirm..."" />
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
@ -395,7 +395,7 @@
|
|||
<method name="get_cursor_shape" qualifiers="const">
|
||||
<return type="int" enum="Control.CursorShape">
|
||||
</return>
|
||||
<argument index="0" name="position" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="0" name="position" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the mouse cursor shape the control displays on mouse hover. See [enum CursorShape].
|
||||
|
@ -549,7 +549,7 @@
|
|||
<method name="get_tooltip" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="at_position" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="0" name="at_position" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the tooltip, which will appear when the cursor is resting over this control. See [member hint_tooltip].
|
||||
|
@ -1140,13 +1140,13 @@
|
|||
<member name="rect_global_position" type="Vector2" setter="_set_global_position" getter="get_global_position">
|
||||
The node's global position, relative to the world (usually to the top-left corner of the window).
|
||||
</member>
|
||||
<member name="rect_min_size" type="Vector2" setter="set_custom_minimum_size" getter="get_custom_minimum_size" default="Vector2( 0, 0 )">
|
||||
<member name="rect_min_size" type="Vector2" setter="set_custom_minimum_size" getter="get_custom_minimum_size" default="Vector2(0, 0)">
|
||||
The minimum size of the node's bounding rectangle. If you set it to a value greater than (0, 0), the node's bounding rectangle will always have at least this size, even if its content is smaller. If it's set to (0, 0), the node sizes automatically to fit its content, be it a texture or child nodes.
|
||||
</member>
|
||||
<member name="rect_pivot_offset" type="Vector2" setter="set_pivot_offset" getter="get_pivot_offset" default="Vector2( 0, 0 )">
|
||||
<member name="rect_pivot_offset" type="Vector2" setter="set_pivot_offset" getter="get_pivot_offset" default="Vector2(0, 0)">
|
||||
By default, the node's pivot is its top-left corner. When you change its [member rect_scale], it will scale around this pivot. Set this property to [member rect_size] / 2 to center the pivot in the node's rectangle.
|
||||
</member>
|
||||
<member name="rect_position" type="Vector2" setter="_set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="rect_position" type="Vector2" setter="_set_position" getter="get_position" default="Vector2(0, 0)">
|
||||
The node's position, relative to its parent. It corresponds to the rectangle's top-left corner. The property is not affected by [member rect_pivot_offset].
|
||||
</member>
|
||||
<member name="rect_rotation" type="float" setter="set_rotation" getter="get_rotation" default="0.0">
|
||||
|
@ -1155,12 +1155,12 @@
|
|||
<member name="rect_rotation_degrees" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees" default="0.0">
|
||||
The node's rotation around its pivot, in degrees. See [member rect_pivot_offset] to change the pivot's position.
|
||||
</member>
|
||||
<member name="rect_scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2( 1, 1 )">
|
||||
<member name="rect_scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2(1, 1)">
|
||||
The node's scale, relative to its [member rect_size]. Change this property to scale the node around its [member rect_pivot_offset]. The Control's [member hint_tooltip] will also scale according to this value.
|
||||
[b]Note:[/b] This property is mainly intended to be used for animation purposes. Text inside the Control will look pixelated or blurry when the Control is scaled. To support multiple resolutions in your project, use an appropriate viewport stretch mode as described in the [url=https://docs.godotengine.org/en/latest/tutorials/viewports/multiple_resolutions.html]documentation[/url] instead of scaling Controls individually.
|
||||
[b]Note:[/b] If the Control node is a child of a [Container] node, the scale will be reset to [code]Vector2(1, 1)[/code] when the scene is instanced. To set the Control's scale when it's instanced, wait for one frame using [code]yield(get_tree(), "idle_frame")[/code] then set its [member rect_scale] property.
|
||||
</member>
|
||||
<member name="rect_size" type="Vector2" setter="_set_size" getter="get_size" default="Vector2( 0, 0 )">
|
||||
<member name="rect_size" type="Vector2" setter="_set_size" getter="get_size" default="Vector2(0, 0)">
|
||||
The size of the node's bounding rectangle, in pixels. [Container] nodes update this property automatically.
|
||||
</member>
|
||||
<member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" default="1">
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array( )">
|
||||
<member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array()">
|
||||
The polygon's list of vertices. Can be in either clockwise or counterclockwise order.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="points" type="PackedVector3Array" setter="set_points" getter="get_points" default="PackedVector3Array( )">
|
||||
<member name="points" type="PackedVector3Array" setter="set_points" getter="get_points" default="PackedVector3Array()">
|
||||
The list of 3D points forming the convex polygon shape.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
</return>
|
||||
<argument index="0" name="position" type="Vector2">
|
||||
</argument>
|
||||
<argument index="1" name="in" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="1" name="in" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<argument index="2" name="out" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="2" name="out" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<argument index="3" name="at_position" type="int" default="-1">
|
||||
</argument>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
</return>
|
||||
<argument index="0" name="position" type="Vector3">
|
||||
</argument>
|
||||
<argument index="1" name="in" type="Vector3" default="Vector3( 0, 0, 0 )">
|
||||
<argument index="1" name="in" type="Vector3" default="Vector3(0, 0, 0)">
|
||||
</argument>
|
||||
<argument index="2" name="out" type="Vector3" default="Vector3( 0, 0, 0 )">
|
||||
<argument index="2" name="out" type="Vector3" default="Vector3(0, 0, 0)">
|
||||
</argument>
|
||||
<argument index="3" name="at_position" type="int" default="-1">
|
||||
</argument>
|
||||
|
|
|
@ -79,13 +79,13 @@
|
|||
<member name="emission_energy" type="float" setter="set_emission_energy" getter="get_emission_energy" default="1.0">
|
||||
Energy multiplier for the emission texture. This will make the decal emit light at a higher intensity.
|
||||
</member>
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
||||
Sets the size of the [AABB] used by the decal. The AABB goes from [code]-extents[/code] to [code]extents[/code].
|
||||
</member>
|
||||
<member name="lower_fade" type="float" setter="set_lower_fade" getter="get_lower_fade" default="0.3">
|
||||
Sets the curve over which the decal will fade as the surface gets further from the center of the [AABB].
|
||||
</member>
|
||||
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color(1, 1, 1, 1)">
|
||||
Changes the [Color] of the Decal by multiplying it with this value.
|
||||
</member>
|
||||
<member name="normal_fade" type="float" setter="set_normal_fade" getter="get_normal_fade" default="0.0">
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="flags" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="rect" type="Rect2i" default="Rect2i( 0, 0, 0, 0 )">
|
||||
<argument index="2" name="rect" type="Rect2i" default="Rect2i(0, 0, 0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -64,7 +64,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="shape" type="int" enum="DisplayServer.CursorShape" default="0">
|
||||
</argument>
|
||||
<argument index="2" name="hotspot" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="2" name="hotspot" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -650,7 +650,7 @@
|
|||
</return>
|
||||
<argument index="0" name="existing_text" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="position" type="Rect2" default="Rect2i( 0, 0, 0, 0 )">
|
||||
<argument index="1" name="position" type="Rect2" default="Rect2i(0, 0, 0, 0)">
|
||||
</argument>
|
||||
<argument index="2" name="multiline" type="bool" default="false">
|
||||
</argument>
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
</argument>
|
||||
<argument index="2" name="billboard" type="bool" default="false">
|
||||
</argument>
|
||||
<argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Adds lines to the gizmo (as sets of 2 points), with a given material. The lines are used for visualizing the gizmo. Call this function during [method _redraw].
|
||||
|
@ -143,7 +143,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="default_scale" type="float" default="1">
|
||||
</argument>
|
||||
<argument index="2" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="2" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Adds an unscaled billboard for visualization. Call this function during [method _redraw].
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
</argument>
|
||||
<argument index="2" name="on_top" type="bool" default="false">
|
||||
</argument>
|
||||
<argument index="3" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="3" name="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Creates an icon material with its variants (selected and/or editable) and adds them to the internal material list. They can then be accessed with [method get_material] and used in [method EditorNode3DGizmo.add_unscaled_billboard]. Should not be overridden.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="arrays" type="Array">
|
||||
</argument>
|
||||
<argument index="2" name="blend_shapes" type="Array" default="[ ]">
|
||||
<argument index="2" name="blend_shapes" type="Array" default="[]">
|
||||
</argument>
|
||||
<argument index="3" name="lods" type="Dictionary" default="{
|
||||
}">
|
||||
|
@ -168,7 +168,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="_data" type="Dictionary" setter="_set_data" getter="_get_data" default="{"surfaces": [ ]}">
|
||||
<member name="_data" type="Dictionary" setter="_set_data" getter="_get_data" default="{"surfaces": []}">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="enable" type="bool">
|
||||
</argument>
|
||||
<argument index="2" name="arguments" type="Array" default="[ ]">
|
||||
<argument index="2" name="arguments" type="Array" default="[]">
|
||||
</argument>
|
||||
<description>
|
||||
Calls the [code]toggle[/code] callable of the profiler with given [code]name[/code] and [code]arguments[/code]. Enables/Disables the same profiler depending on [code]enable[/code] argument.
|
||||
|
|
|
@ -55,13 +55,13 @@
|
|||
<member name="adjustment_saturation" type="float" setter="set_adjustment_saturation" getter="get_adjustment_saturation" default="1.0">
|
||||
The global color saturation value of the rendered scene (default value is 1). Effective only if [code]adjustment_enabled[/code] is [code]true[/code].
|
||||
</member>
|
||||
<member name="ambient_light_color" type="Color" setter="set_ambient_light_color" getter="get_ambient_light_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="ambient_light_color" type="Color" setter="set_ambient_light_color" getter="get_ambient_light_color" default="Color(0, 0, 0, 1)">
|
||||
The ambient light's [Color].
|
||||
</member>
|
||||
<member name="ambient_light_energy" type="float" setter="set_ambient_light_energy" getter="get_ambient_light_energy" default="1.0">
|
||||
The ambient light's energy. The higher the value, the stronger the light.
|
||||
</member>
|
||||
<member name="ambient_light_occlusion_color" type="Color" setter="set_ao_color" getter="get_ao_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="ambient_light_occlusion_color" type="Color" setter="set_ao_color" getter="get_ao_color" default="Color(0, 0, 0, 1)">
|
||||
</member>
|
||||
<member name="ambient_light_sky_contribution" type="float" setter="set_ambient_light_sky_contribution" getter="get_ambient_light_sky_contribution" default="1.0">
|
||||
Defines the amount of light that the sky brings on the scene. A value of 0 means that the sky's light emission has no effect on the scene illumination, thus all ambient illumination is provided by the ambient light. On the contrary, a value of 1 means that all the light that affects the scene is provided by the sky, thus the ambient light parameter has no effect on the scene.
|
||||
|
@ -89,7 +89,7 @@
|
|||
<member name="background_canvas_max_layer" type="int" setter="set_canvas_max_layer" getter="get_canvas_max_layer" default="0">
|
||||
The maximum layer ID to display. Only effective when using the [constant BG_CANVAS] background mode.
|
||||
</member>
|
||||
<member name="background_color" type="Color" setter="set_bg_color" getter="get_bg_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="background_color" type="Color" setter="set_bg_color" getter="get_bg_color" default="Color(0, 0, 0, 1)">
|
||||
The [Color] displayed for clear areas of the scene. Only effective when using the [constant BG_COLOR] background mode.
|
||||
</member>
|
||||
<member name="background_energy" type="float" setter="set_bg_energy" getter="get_bg_energy" default="1.0">
|
||||
|
@ -111,7 +111,7 @@
|
|||
</member>
|
||||
<member name="fog_height_density" type="float" setter="set_fog_height_density" getter="get_fog_height_density" default="0.0">
|
||||
</member>
|
||||
<member name="fog_light_color" type="Color" setter="set_fog_light_color" getter="get_fog_light_color" default="Color( 0.5, 0.6, 0.7, 1 )">
|
||||
<member name="fog_light_color" type="Color" setter="set_fog_light_color" getter="get_fog_light_color" default="Color(0.5, 0.6, 0.7, 1)">
|
||||
</member>
|
||||
<member name="fog_light_energy" type="float" setter="set_fog_light_energy" getter="get_fog_light_energy" default="1.0">
|
||||
</member>
|
||||
|
@ -200,7 +200,7 @@
|
|||
</member>
|
||||
<member name="sky_custom_fov" type="float" setter="set_sky_custom_fov" getter="get_sky_custom_fov" default="0.0">
|
||||
</member>
|
||||
<member name="sky_rotation" type="Vector3" setter="set_sky_rotation" getter="get_sky_rotation" default="Vector3( 0, 0, 0 )">
|
||||
<member name="sky_rotation" type="Vector3" setter="set_sky_rotation" getter="get_sky_rotation" default="Vector3(0, 0, 0)">
|
||||
</member>
|
||||
<member name="ss_reflections_depth_tolerance" type="float" setter="set_ssr_depth_tolerance" getter="get_ssr_depth_tolerance" default="0.2">
|
||||
The depth tolerance for screen-space reflections.
|
||||
|
@ -263,7 +263,7 @@
|
|||
</member>
|
||||
<member name="volumetric_fog_length" type="float" setter="set_volumetric_fog_length" getter="get_volumetric_fog_length" default="64.0">
|
||||
</member>
|
||||
<member name="volumetric_fog_light" type="Color" setter="set_volumetric_fog_light" getter="get_volumetric_fog_light" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="volumetric_fog_light" type="Color" setter="set_volumetric_fog_light" getter="get_volumetric_fog_light" default="Color(0, 0, 0, 1)">
|
||||
</member>
|
||||
<member name="volumetric_fog_light_energy" type="float" setter="set_volumetric_fog_light_energy" getter="get_volumetric_fog_light_energy" default="1.0">
|
||||
</member>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<method name="execute">
|
||||
<return type="Variant">
|
||||
</return>
|
||||
<argument index="0" name="inputs" type="Array" default="[ ]">
|
||||
<argument index="0" name="inputs" type="Array" default="[]">
|
||||
</argument>
|
||||
<argument index="1" name="base_instance" type="Object" default="null">
|
||||
</argument>
|
||||
|
@ -84,7 +84,7 @@
|
|||
</return>
|
||||
<argument index="0" name="expression" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="input_names" type="PackedStringArray" default="PackedStringArray( )">
|
||||
<argument index="1" name="input_names" type="PackedStringArray" default="PackedStringArray()">
|
||||
</argument>
|
||||
<description>
|
||||
Parses the expression and returns an [enum Error] code.
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
<member name="file_mode" type="int" setter="set_file_mode" getter="get_file_mode" enum="FileDialog.FileMode" default="4">
|
||||
The dialog's open or save mode, which affects the selection behavior. See [enum FileMode].
|
||||
</member>
|
||||
<member name="filters" type="PackedStringArray" setter="set_filters" getter="get_filters" default="PackedStringArray( )">
|
||||
<member name="filters" type="PackedStringArray" setter="set_filters" getter="get_filters" default="PackedStringArray()">
|
||||
The available file type filters. For example, this shows only [code].png[/code] and [code].gd[/code] files: [code]set_filters(PackedStringArray(["*.png ; PNG Images","*.gd ; GDScript Files"]))[/code].
|
||||
</member>
|
||||
<member name="mode_overrides_title" type="bool" setter="set_mode_overrides_title" getter="is_mode_overriding_title" default="true">
|
||||
|
@ -139,16 +139,16 @@
|
|||
<theme_item name="file" type="Texture2D">
|
||||
Custom icon for files.
|
||||
</theme_item>
|
||||
<theme_item name="file_icon_modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="file_icon_modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The color modulation applied to the file icon.
|
||||
</theme_item>
|
||||
<theme_item name="files_disabled" type="Color" default="Color( 0, 0, 0, 0.7 )">
|
||||
<theme_item name="files_disabled" type="Color" default="Color(0, 0, 0, 0.7)">
|
||||
The color tint for disabled files (when the [FileDialog] is used in open folder mode).
|
||||
</theme_item>
|
||||
<theme_item name="folder" type="Texture2D">
|
||||
Custom icon for folders.
|
||||
</theme_item>
|
||||
<theme_item name="folder_icon_modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="folder_icon_modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The color modulation applied to the folder icon.
|
||||
</theme_item>
|
||||
<theme_item name="forward_folder" type="Texture2D">
|
||||
|
|
|
@ -85,11 +85,11 @@
|
|||
</argument>
|
||||
<argument index="4" name="size" type="int" default="-1">
|
||||
</argument>
|
||||
<argument index="5" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="5" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="6" name="outline_size" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="7" name="outline_modulate" type="Color" default="Color( 1, 1, 1, 0 )">
|
||||
<argument index="7" name="outline_modulate" type="Color" default="Color(1, 1, 1, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Draw a single Unicode character [code]char[/code] into a canvas item using the font, at a given position, with [code]modulate[/code] color, and optionally kerning if [code]next[/code] is passed. [code]position[/code] specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis.
|
||||
|
@ -113,11 +113,11 @@
|
|||
</argument>
|
||||
<argument index="6" name="size" type="int" default="-1">
|
||||
</argument>
|
||||
<argument index="7" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="7" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="8" name="outline_size" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="9" name="outline_modulate" type="Color" default="Color( 1, 1, 1, 0 )">
|
||||
<argument index="9" name="outline_modulate" type="Color" default="Color(1, 1, 1, 0)">
|
||||
</argument>
|
||||
<argument index="10" name="flags" type="int" default="51">
|
||||
</argument>
|
||||
|
@ -141,11 +141,11 @@
|
|||
</argument>
|
||||
<argument index="5" name="size" type="int" default="-1">
|
||||
</argument>
|
||||
<argument index="6" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="6" name="modulate" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<argument index="7" name="outline_size" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="8" name="outline_modulate" type="Color" default="Color( 1, 1, 1, 0 )">
|
||||
<argument index="8" name="outline_modulate" type="Color" default="Color(1, 1, 1, 0)">
|
||||
</argument>
|
||||
<argument index="9" name="flags" type="int" default="3">
|
||||
</argument>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
</argument>
|
||||
<argument index="3" name="index" type="int">
|
||||
</argument>
|
||||
<argument index="4" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="4" name="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Draws single glyph into a canvas item at the position, using [code]font[/code] at the size [code]size[/code].
|
||||
|
@ -82,7 +82,7 @@
|
|||
</argument>
|
||||
<argument index="4" name="index" type="int">
|
||||
</argument>
|
||||
<argument index="5" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<argument index="5" name="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</argument>
|
||||
<description>
|
||||
Draws single glyph outline of size [code]outline_size[/code] into a canvas item at the position, using [code]font[/code] at the size [code]size[/code]. If outline drawing is not supported, nothing is drawn.
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
</member>
|
||||
<member name="trail_sections" type="int" setter="set_trail_sections" getter="get_trail_sections" default="8">
|
||||
</member>
|
||||
<member name="visibility_rect" type="Rect2" setter="set_visibility_rect" getter="get_visibility_rect" default="Rect2( -100, -100, 200, 200 )">
|
||||
<member name="visibility_rect" type="Rect2" setter="set_visibility_rect" getter="get_visibility_rect" default="Rect2(-100, -100, 200, 200)">
|
||||
The [Rect2] that determines the node's region which needs to be visible on screen for the particle system to be active.
|
||||
Grow the rect if particles suddenly appear/disappear when the node enters/exits the screen. The [Rect2] can be grown via code or with the [b]Particles → Generate Visibility Rect[/b] editor tool.
|
||||
</member>
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</member>
|
||||
<member name="transform_align" type="int" setter="set_transform_align" getter="get_transform_align" enum="GPUParticles3D.TransformAlign" default="0">
|
||||
</member>
|
||||
<member name="visibility_aabb" type="AABB" setter="set_visibility_aabb" getter="get_visibility_aabb" default="AABB( -4, -4, -4, 8, 8, 8 )">
|
||||
<member name="visibility_aabb" type="AABB" setter="set_visibility_aabb" getter="get_visibility_aabb" default="AABB(-4, -4, -4, 8, 8, 8)">
|
||||
The [AABB] that determines the node's region which needs to be visible on screen for the particle system to be active.
|
||||
Grow the box if particles suddenly appear/disappear when the node enters/exits the screen. The [AABB] can be grown via code or with the [b]Particles → Generate AABB[/b] editor tool.
|
||||
</member>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
||||
</member>
|
||||
<member name="texture" type="Texture3D" setter="set_texture" getter="get_texture">
|
||||
</member>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
||||
</member>
|
||||
<member name="follow_camera_enabled" type="bool" setter="set_follow_camera_mode" getter="is_follow_camera_mode_enabled" default="false">
|
||||
</member>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
||||
</member>
|
||||
<member name="resolution" type="int" setter="set_resolution" getter="get_resolution" enum="GPUParticlesCollisionSDF.Resolution" default="2">
|
||||
</member>
|
||||
|
|
|
@ -87,10 +87,10 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="colors" type="PackedColorArray" setter="set_colors" getter="get_colors" default="PackedColorArray( 0, 0, 0, 1, 1, 1, 1, 1 )">
|
||||
<member name="colors" type="PackedColorArray" setter="set_colors" getter="get_colors" default="PackedColorArray(0, 0, 0, 1, 1, 1, 1, 1)">
|
||||
Gradient's colors returned as a [PackedColorArray].
|
||||
</member>
|
||||
<member name="offsets" type="PackedFloat32Array" setter="set_offsets" getter="get_offsets" default="PackedFloat32Array( 0, 1 )">
|
||||
<member name="offsets" type="PackedFloat32Array" setter="set_offsets" getter="get_offsets" default="PackedFloat32Array(0, 1)">
|
||||
Gradient's offsets returned as a [PackedFloat32Array].
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -187,14 +187,14 @@
|
|||
<member name="minimap_opacity" type="float" setter="set_minimap_opacity" getter="get_minimap_opacity" default="0.65">
|
||||
The opacity of the minimap rectangle.
|
||||
</member>
|
||||
<member name="minimap_size" type="Vector2" setter="set_minimap_size" getter="get_minimap_size" default="Vector2( 240, 160 )">
|
||||
<member name="minimap_size" type="Vector2" setter="set_minimap_size" getter="get_minimap_size" default="Vector2(240, 160)">
|
||||
The size of the minimap rectangle. The map itself is based on the size of the grid area and is scaled to fit this rectangle.
|
||||
</member>
|
||||
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" override="true" default="true" />
|
||||
<member name="right_disconnects" type="bool" setter="set_right_disconnects" getter="is_right_disconnects_enabled" default="false">
|
||||
If [code]true[/code], enables disconnection of existing connections in the GraphEdit by dragging the right end.
|
||||
</member>
|
||||
<member name="scroll_offset" type="Vector2" setter="set_scroll_ofs" getter="get_scroll_ofs" default="Vector2( 0, 0 )">
|
||||
<member name="scroll_offset" type="Vector2" setter="set_scroll_ofs" getter="get_scroll_ofs" default="Vector2(0, 0)">
|
||||
The scroll offset.
|
||||
</member>
|
||||
<member name="show_zoom_label" type="bool" setter="set_show_zoom_label" getter="is_showing_zoom_label" default="false">
|
||||
|
@ -329,7 +329,7 @@
|
|||
<constants>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="activity" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="activity" type="Color" default="Color(1, 1, 1, 1)">
|
||||
</theme_item>
|
||||
<theme_item name="bezier_len_neg" type="int" default="160">
|
||||
</theme_item>
|
||||
|
@ -338,10 +338,10 @@
|
|||
<theme_item name="bg" type="StyleBox">
|
||||
The background drawn under the grid.
|
||||
</theme_item>
|
||||
<theme_item name="grid_major" type="Color" default="Color( 1, 1, 1, 0.2 )">
|
||||
<theme_item name="grid_major" type="Color" default="Color(1, 1, 1, 0.2)">
|
||||
Color of major grid lines.
|
||||
</theme_item>
|
||||
<theme_item name="grid_minor" type="Color" default="Color( 1, 1, 1, 0.05 )">
|
||||
<theme_item name="grid_minor" type="Color" default="Color(1, 1, 1, 0.05)">
|
||||
Color of minor grid lines.
|
||||
</theme_item>
|
||||
<theme_item name="minimap" type="Texture2D">
|
||||
|
@ -361,10 +361,10 @@
|
|||
<theme_item name="reset" type="Texture2D">
|
||||
The icon for the zoom reset button.
|
||||
</theme_item>
|
||||
<theme_item name="selection_fill" type="Color" default="Color( 1, 1, 1, 0.3 )">
|
||||
<theme_item name="selection_fill" type="Color" default="Color(1, 1, 1, 0.3)">
|
||||
The fill color of the selection rectangle.
|
||||
</theme_item>
|
||||
<theme_item name="selection_stroke" type="Color" default="Color( 1, 1, 1, 0.8 )">
|
||||
<theme_item name="selection_stroke" type="Color" default="Color(1, 1, 1, 0.8)">
|
||||
The outline color of the selection rectangle.
|
||||
</theme_item>
|
||||
<theme_item name="snap" type="Texture2D">
|
||||
|
|
|
@ -285,7 +285,7 @@
|
|||
<member name="overlay" type="int" setter="set_overlay" getter="get_overlay" enum="GraphNode.Overlay" default="0">
|
||||
Sets the overlay shown above the GraphNode. See [enum Overlay].
|
||||
</member>
|
||||
<member name="position_offset" type="Vector2" setter="set_position_offset" getter="get_position_offset" default="Vector2( 0, 0 )">
|
||||
<member name="position_offset" type="Vector2" setter="set_position_offset" getter="get_position_offset" default="Vector2(0, 0)">
|
||||
The offset of the GraphNode, relative to the scroll offset of the [GraphEdit].
|
||||
[b]Note:[/b] You cannot use position offset directly, as [GraphEdit] is a [Container].
|
||||
</member>
|
||||
|
@ -365,7 +365,7 @@
|
|||
<theme_item name="close" type="Texture2D">
|
||||
The icon for the close button, visible when [member show_close] is enabled.
|
||||
</theme_item>
|
||||
<theme_item name="close_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="close_color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
The color modulation applied to the close button icon.
|
||||
</theme_item>
|
||||
<theme_item name="close_offset" type="int" default="18">
|
||||
|
@ -396,7 +396,7 @@
|
|||
<theme_item name="resizer" type="Texture2D">
|
||||
The icon used for resizer, visible when [member resizable] is enabled.
|
||||
</theme_item>
|
||||
<theme_item name="resizer_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="resizer_color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
The color modulation applied to the resizer icon.
|
||||
</theme_item>
|
||||
<theme_item name="selectedframe" type="StyleBox">
|
||||
|
@ -405,7 +405,7 @@
|
|||
<theme_item name="separation" type="int" default="1">
|
||||
The vertical distance between ports.
|
||||
</theme_item>
|
||||
<theme_item name="title_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="title_color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
Color of the title text.
|
||||
</theme_item>
|
||||
<theme_item name="title_font" type="Font">
|
||||
|
|
|
@ -192,7 +192,7 @@
|
|||
</return>
|
||||
<argument index="0" name="url" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="custom_headers" type="PackedStringArray" default="PackedStringArray( )">
|
||||
<argument index="1" name="custom_headers" type="PackedStringArray" default="PackedStringArray()">
|
||||
</argument>
|
||||
<argument index="2" name="ssl_validate_domain" type="bool" default="true">
|
||||
</argument>
|
||||
|
@ -211,13 +211,13 @@
|
|||
</return>
|
||||
<argument index="0" name="url" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="custom_headers" type="PackedStringArray" default="PackedStringArray( )">
|
||||
<argument index="1" name="custom_headers" type="PackedStringArray" default="PackedStringArray()">
|
||||
</argument>
|
||||
<argument index="2" name="ssl_validate_domain" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="3" name="method" type="int" enum="HTTPClient.Method" default="0">
|
||||
</argument>
|
||||
<argument index="4" name="request_data_raw" type="PackedByteArray" default="PackedByteArray( )">
|
||||
<argument index="4" name="request_data_raw" type="PackedByteArray" default="PackedByteArray()">
|
||||
</argument>
|
||||
<description>
|
||||
Creates request on the underlying [HTTPClient] using a raw array of bytes for the request body. If there is no configuration errors, it tries to connect using [method HTTPClient.connect_to_host] and passes parameters onto [method HTTPClient.request].
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="map_data" type="PackedFloat32Array" setter="set_map_data" getter="get_map_data" default="PackedFloat32Array( 0, 0, 0, 0 )">
|
||||
<member name="map_data" type="PackedFloat32Array" setter="set_map_data" getter="get_map_data" default="PackedFloat32Array(0, 0, 0, 0)">
|
||||
Height map data, pool array must be of [member map_width] * [member map_depth] size.
|
||||
</member>
|
||||
<member name="map_depth" type="int" setter="set_map_depth" getter="get_map_depth" default="2">
|
||||
|
|
|
@ -560,7 +560,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="data" type="Dictionary" setter="_set_data" getter="_get_data" default="{"data": PackedByteArray( ),"format": "Lum8","height": 0,"mipmaps": false,"width": 0}">
|
||||
<member name="data" type="Dictionary" setter="_set_data" getter="_get_data" default="{"data": PackedByteArray(),"format": "Lum8","height": 0,"mipmaps": false,"width": 0}">
|
||||
Holds all the image's color data in a given format. See [enum Format] constants.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -341,7 +341,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="shape" type="int" enum="Input.CursorShape" default="0">
|
||||
</argument>
|
||||
<argument index="2" name="hotspot" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="2" name="hotspot" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Sets a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. Passing [code]null[/code] to the image parameter resets to the system cursor. See [enum CursorShape] for the list of shapes.
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
</return>
|
||||
<argument index="0" name="xform" type="Transform2D">
|
||||
</argument>
|
||||
<argument index="1" name="local_ofs" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="1" name="local_ofs" type="Vector2" default="Vector2(0, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Returns a copy of the given input event which has been offset by [code]local_ofs[/code] and transformed by [code]xform[/code]. Relevant for events of type [InputEventMouseButton], [InputEventMouseMotion], [InputEventScreenTouch], [InputEventScreenDrag], [InputEventMagnifyGesture] and [InputEventPanGesture].
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||
The local gesture position relative to the [Viewport]. If used in [method Control._gui_input], the position is relative to the current [Control] that received this gesture.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
<member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask" default="0">
|
||||
The mouse button mask identifier, one of or a bitwise combination of the [enum MouseButton] button masks.
|
||||
</member>
|
||||
<member name="global_position" type="Vector2" setter="set_global_position" getter="get_global_position" default="Vector2( 0, 0 )">
|
||||
<member name="global_position" type="Vector2" setter="set_global_position" getter="get_global_position" default="Vector2(0, 0)">
|
||||
The global mouse position relative to the current [Viewport] when used in [method Control._gui_input], otherwise is at 0,0.
|
||||
</member>
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||
The local mouse position relative to the [Viewport]. If used in [method Control._gui_input], the position is relative to the current [Control] which is under the mouse.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
|
||||
Represents the pressure the user puts on the pen. Ranges from [code]0.0[/code] to [code]1.0[/code].
|
||||
</member>
|
||||
<member name="relative" type="Vector2" setter="set_relative" getter="get_relative" default="Vector2( 0, 0 )">
|
||||
<member name="relative" type="Vector2" setter="set_relative" getter="get_relative" default="Vector2(0, 0)">
|
||||
The mouse position relative to the previous position (position at the last frame).
|
||||
[b]Note:[/b] Since [InputEventMouseMotion] is only emitted when the mouse moves, the last event won't have a relative position of [code]Vector2(0, 0)[/code] when the user stops moving the mouse.
|
||||
</member>
|
||||
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed" default="Vector2( 0, 0 )">
|
||||
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed" default="Vector2(0, 0)">
|
||||
The mouse speed in pixels per second.
|
||||
</member>
|
||||
<member name="tilt" type="Vector2" setter="set_tilt" getter="get_tilt" default="Vector2( 0, 0 )">
|
||||
<member name="tilt" type="Vector2" setter="set_tilt" getter="get_tilt" default="Vector2(0, 0)">
|
||||
Represents the angles of tilt of the pen. Positive X-coordinate value indicates a tilt to the right. Positive Y-coordinate value indicates a tilt toward the user. Ranges from [code]-1.0[/code] to [code]1.0[/code] for both axes.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="delta" type="Vector2" setter="set_delta" getter="get_delta" default="Vector2( 0, 0 )">
|
||||
<member name="delta" type="Vector2" setter="set_delta" getter="get_delta" default="Vector2(0, 0)">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
<member name="index" type="int" setter="set_index" getter="get_index" default="0">
|
||||
The drag event index in the case of a multi-drag event.
|
||||
</member>
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||
The drag position.
|
||||
</member>
|
||||
<member name="relative" type="Vector2" setter="set_relative" getter="get_relative" default="Vector2( 0, 0 )">
|
||||
<member name="relative" type="Vector2" setter="set_relative" getter="get_relative" default="Vector2(0, 0)">
|
||||
The drag position relative to its start position.
|
||||
</member>
|
||||
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed" default="Vector2( 0, 0 )">
|
||||
<member name="speed" type="Vector2" setter="set_speed" getter="get_speed" default="Vector2(0, 0)">
|
||||
The drag speed.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<member name="index" type="int" setter="set_index" getter="get_index" default="0">
|
||||
The touch index in the case of a multi-touch event. One index = one finger.
|
||||
</member>
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||
The touch position.
|
||||
</member>
|
||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
||||
|
|
|
@ -484,7 +484,7 @@
|
|||
The width all columns will be adjusted to.
|
||||
A value of zero disables the adjustment, each item will have a width equal to the width of its content and the columns will have an uneven width.
|
||||
</member>
|
||||
<member name="fixed_icon_size" type="Vector2" setter="set_fixed_icon_size" getter="get_fixed_icon_size" default="Vector2( 0, 0 )">
|
||||
<member name="fixed_icon_size" type="Vector2" setter="set_fixed_icon_size" getter="get_fixed_icon_size" default="Vector2(0, 0)">
|
||||
The size all icons will be adjusted to.
|
||||
If either X or Y component is not greater than zero, icon size won't be affected.
|
||||
</member>
|
||||
|
@ -593,19 +593,19 @@
|
|||
<theme_item name="font" type="Font">
|
||||
[Font] of the item's text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.63, 0.63, 0.63, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.63, 0.63, 0.63, 1)">
|
||||
Default text [Color] of the item.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the item.
|
||||
</theme_item>
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Text [Color] used when the item is selected.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the item's text.
|
||||
</theme_item>
|
||||
<theme_item name="guide_color" type="Color" default="Color( 0, 0, 0, 0.1 )">
|
||||
<theme_item name="guide_color" type="Color" default="Color(0, 0, 0, 0.1)">
|
||||
[Color] of the guideline. The guideline is a line drawn between each row of items.
|
||||
</theme_item>
|
||||
<theme_item name="hseparation" type="int" default="4">
|
||||
|
|
|
@ -27,22 +27,22 @@
|
|||
<member name="collider_shape_index" type="int" setter="" getter="get_collider_shape_index" default="0">
|
||||
The colliding shape's index. See [CollisionObject2D].
|
||||
</member>
|
||||
<member name="collider_velocity" type="Vector2" setter="" getter="get_collider_velocity" default="Vector2( 0, 0 )">
|
||||
<member name="collider_velocity" type="Vector2" setter="" getter="get_collider_velocity" default="Vector2(0, 0)">
|
||||
The colliding object's velocity.
|
||||
</member>
|
||||
<member name="local_shape" type="Object" setter="" getter="get_local_shape">
|
||||
The moving object's colliding shape.
|
||||
</member>
|
||||
<member name="normal" type="Vector2" setter="" getter="get_normal" default="Vector2( 0, 0 )">
|
||||
<member name="normal" type="Vector2" setter="" getter="get_normal" default="Vector2(0, 0)">
|
||||
The colliding body's shape's normal at the point of collision.
|
||||
</member>
|
||||
<member name="position" type="Vector2" setter="" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="position" type="Vector2" setter="" getter="get_position" default="Vector2(0, 0)">
|
||||
The point of collision, in global coordinates.
|
||||
</member>
|
||||
<member name="remainder" type="Vector2" setter="" getter="get_remainder" default="Vector2( 0, 0 )">
|
||||
<member name="remainder" type="Vector2" setter="" getter="get_remainder" default="Vector2(0, 0)">
|
||||
The moving object's remaining movement vector.
|
||||
</member>
|
||||
<member name="travel" type="Vector2" setter="" getter="get_travel" default="Vector2( 0, 0 )">
|
||||
<member name="travel" type="Vector2" setter="" getter="get_travel" default="Vector2(0, 0)">
|
||||
The distance the moving object traveled before collision.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -27,22 +27,22 @@
|
|||
<member name="collider_shape_index" type="int" setter="" getter="get_collider_shape_index" default="0">
|
||||
The colliding shape's index. See [CollisionObject3D].
|
||||
</member>
|
||||
<member name="collider_velocity" type="Vector3" setter="" getter="get_collider_velocity" default="Vector3( 0, 0, 0 )">
|
||||
<member name="collider_velocity" type="Vector3" setter="" getter="get_collider_velocity" default="Vector3(0, 0, 0)">
|
||||
The colliding object's velocity.
|
||||
</member>
|
||||
<member name="local_shape" type="Object" setter="" getter="get_local_shape">
|
||||
The moving object's colliding shape.
|
||||
</member>
|
||||
<member name="normal" type="Vector3" setter="" getter="get_normal" default="Vector3( 0, 0, 0 )">
|
||||
<member name="normal" type="Vector3" setter="" getter="get_normal" default="Vector3(0, 0, 0)">
|
||||
The colliding body's shape's normal at the point of collision.
|
||||
</member>
|
||||
<member name="position" type="Vector3" setter="" getter="get_position" default="Vector3( 0, 0, 0 )">
|
||||
<member name="position" type="Vector3" setter="" getter="get_position" default="Vector3(0, 0, 0)">
|
||||
The point of collision, in global coordinates.
|
||||
</member>
|
||||
<member name="remainder" type="Vector3" setter="" getter="get_remainder" default="Vector3( 0, 0, 0 )">
|
||||
<member name="remainder" type="Vector3" setter="" getter="get_remainder" default="Vector3(0, 0, 0)">
|
||||
The moving object's remaining movement vector.
|
||||
</member>
|
||||
<member name="travel" type="Vector3" setter="" getter="get_travel" default="Vector3( 0, 0, 0 )">
|
||||
<member name="travel" type="Vector3" setter="" getter="get_travel" default="Vector3(0, 0, 0)">
|
||||
The distance the moving object traveled before collision.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0">
|
||||
Set BiDi algorithm override for the structured text.
|
||||
</member>
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[ ]">
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]">
|
||||
Set additional options for BiDi override.
|
||||
</member>
|
||||
<member name="text" type="String" setter="set_text" getter="get_text" default="""">
|
||||
|
@ -147,13 +147,13 @@
|
|||
<theme_item name="font" type="Font">
|
||||
[Font] used for the [Label]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Default text [Color] of the [Label].
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of [Font]'s outline.
|
||||
</theme_item>
|
||||
<theme_item name="font_shadow_color" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
<theme_item name="font_shadow_color" type="Color" default="Color(0, 0, 0, 0)">
|
||||
[Color] of the text's shadow effect.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="Light2D.BlendMode" default="0">
|
||||
The Light2D's blend mode. See [enum BlendMode] constants for values.
|
||||
</member>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
|
||||
The Light2D's [Color].
|
||||
</member>
|
||||
<member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only" default="false">
|
||||
|
@ -57,7 +57,7 @@
|
|||
<member name="range_z_min" type="int" setter="set_z_range_min" getter="get_z_range_min" default="-1024">
|
||||
Minimum [code]z[/code] value of objects that are affected by the Light2D.
|
||||
</member>
|
||||
<member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color( 0, 0, 0, 0 )">
|
||||
<member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color(0, 0, 0, 0)">
|
||||
[Color] of shadows cast by the Light2D.
|
||||
</member>
|
||||
<member name="shadow_enabled" type="bool" setter="set_shadow_enabled" getter="is_shadow_enabled" default="false">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<member name="light_bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="Light3D.BakeMode" default="1">
|
||||
The light's bake mode. See [enum BakeMode].
|
||||
</member>
|
||||
<member name="light_color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="light_color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
|
||||
The light's color. An [i]overbright[/i] color can be used to achieve a result equivalent to increasing the light's [member light_energy].
|
||||
</member>
|
||||
<member name="light_cull_mask" type="int" setter="set_cull_mask" getter="get_cull_mask" default="4294967295">
|
||||
|
@ -72,7 +72,7 @@
|
|||
<member name="shadow_blur" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||
Blurs the edges of the shadow. Can be used to hide pixel artifacts in low-resolution shadow maps. A high value can impact performance, make shadows appear grainy and can cause other unwanted artifacts. Try to keep as near default as possible.
|
||||
</member>
|
||||
<member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color( 0, 0, 0, 1 )">
|
||||
<member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color(0, 0, 0, 1)">
|
||||
The color of shadows cast by this light.
|
||||
</member>
|
||||
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false">
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<member name="begin_cap_mode" type="int" setter="set_begin_cap_mode" getter="get_begin_cap_mode" enum="Line2D.LineCapMode" default="0">
|
||||
Controls the style of the line's first point. Use [enum LineCapMode] constants.
|
||||
</member>
|
||||
<member name="default_color" type="Color" setter="set_default_color" getter="get_default_color" default="Color( 1, 1, 1, 1 )">
|
||||
<member name="default_color" type="Color" setter="set_default_color" getter="get_default_color" default="Color(1, 1, 1, 1)">
|
||||
The line's color. Will not be used if a gradient is set.
|
||||
</member>
|
||||
<member name="end_cap_mode" type="int" setter="set_end_cap_mode" getter="get_end_cap_mode" enum="Line2D.LineCapMode" default="0">
|
||||
|
@ -86,7 +86,7 @@
|
|||
<member name="joint_mode" type="int" setter="set_joint_mode" getter="get_joint_mode" enum="Line2D.LineJointMode" default="0">
|
||||
The style for the points between the start and the end.
|
||||
</member>
|
||||
<member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array( )">
|
||||
<member name="points" type="PackedVector2Array" setter="set_points" getter="get_points" default="PackedVector2Array()">
|
||||
The points that form the lines. The line is drawn between every point set in this array. Points are interpreted as local vectors.
|
||||
</member>
|
||||
<member name="round_precision" type="int" setter="set_round_precision" getter="get_round_precision" default="8">
|
||||
|
|
|
@ -221,7 +221,7 @@
|
|||
<member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0">
|
||||
Set BiDi algorithm override for the structured text.
|
||||
</member>
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[ ]">
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]">
|
||||
Set additional options for BiDi override.
|
||||
</member>
|
||||
<member name="text" type="String" setter="set_text" getter="get_text" default="""">
|
||||
|
@ -359,16 +359,16 @@
|
|||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="caret_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="caret_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
Color of the [LineEdit]'s caret (text cursor).
|
||||
</theme_item>
|
||||
<theme_item name="clear" type="Texture2D">
|
||||
Texture for the clear button. See [member clear_button_enabled].
|
||||
</theme_item>
|
||||
<theme_item name="clear_button_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="clear_button_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
Color used as default tint for the clear button.
|
||||
</theme_item>
|
||||
<theme_item name="clear_button_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="clear_button_color_pressed" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Color used for the clear button when it's pressed.
|
||||
</theme_item>
|
||||
<theme_item name="focus" type="StyleBox">
|
||||
|
@ -377,19 +377,19 @@
|
|||
<theme_item name="font" type="Font">
|
||||
Font used for the text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
Default font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [LineEdit].
|
||||
</theme_item>
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
Font color for selected text (inside the selection rectangle).
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the [LineEdit]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="font_uneditable_color" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
<theme_item name="font_uneditable_color" type="Color" default="Color(0.88, 0.88, 0.88, 0.5)">
|
||||
Font color when editing is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="minimum_character_width" type="int" default="4">
|
||||
|
@ -404,7 +404,7 @@
|
|||
<theme_item name="read_only" type="StyleBox">
|
||||
Background used when [LineEdit] is in read-only mode ([member editable] is set to [code]false[/code]).
|
||||
</theme_item>
|
||||
<theme_item name="selection_color" type="Color" default="Color( 0.49, 0.49, 0.49, 1 )">
|
||||
<theme_item name="selection_color" type="Color" default="Color(0.49, 0.49, 0.49, 1)">
|
||||
Color of the selection rectangle.
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<member name="distance" type="float" setter="set_distance" getter="get_distance" default="0.0">
|
||||
The line's distance from the origin.
|
||||
</member>
|
||||
<member name="normal" type="Vector2" setter="set_normal" getter="get_normal" default="Vector2( 0, 1 )">
|
||||
<member name="normal" type="Vector2" setter="set_normal" getter="get_normal" default="Vector2(0, 1)">
|
||||
The line's normal.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0">
|
||||
Set BiDi algorithm override for the structured text.
|
||||
</member>
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[ ]">
|
||||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]">
|
||||
Set additional options for BiDi override.
|
||||
</member>
|
||||
<member name="text" type="String" setter="set_text" getter="get_text" default="""">
|
||||
|
@ -78,16 +78,16 @@
|
|||
<theme_item name="font" type="Font">
|
||||
[Font] of the [LinkButton]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
Default text [Color] of the [LinkButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
Text [Color] used when the [LinkButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [LinkButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Text [Color] used when the [LinkButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
|
|
@ -56,19 +56,19 @@
|
|||
<theme_item name="font" type="Font">
|
||||
[Font] of the [MenuButton]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
Default text [Color] of the [MenuButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 1, 1, 1, 0.3 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color(1, 1, 1, 0.3)">
|
||||
Text [Color] used when the [MenuButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
Text [Color] used when the [MenuButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [MenuButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Text [Color] used when the [MenuButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="lightmap_size_hint" type="Vector2i" setter="set_lightmap_size_hint" getter="get_lightmap_size_hint" default="Vector2i( 0, 0 )">
|
||||
<member name="lightmap_size_hint" type="Vector2i" setter="set_lightmap_size_hint" getter="get_lightmap_size_hint" default="Vector2i(0, 0)">
|
||||
Sets a hint to be used for lightmap resolution.
|
||||
</member>
|
||||
</members>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<member name="base_texture" type="Texture2D" setter="set_base_texture" getter="get_base_texture">
|
||||
Sets the base texture that the Mesh will use to draw.
|
||||
</member>
|
||||
<member name="image_size" type="Vector2" setter="set_image_size" getter="get_image_size" default="Vector2( 0, 0 )">
|
||||
<member name="image_size" type="Vector2" setter="set_image_size" getter="get_image_size" default="Vector2(0, 0)">
|
||||
Sets the size of the image, needed for reference.
|
||||
</member>
|
||||
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="buffer" type="PackedFloat32Array" setter="set_buffer" getter="get_buffer" default="PackedFloat32Array( )">
|
||||
<member name="buffer" type="PackedFloat32Array" setter="set_buffer" getter="get_buffer" default="PackedFloat32Array()">
|
||||
</member>
|
||||
<member name="color_array" type="PackedColorArray" setter="_set_color_array" getter="_get_color_array">
|
||||
</member>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<member name="patch_margin_top" type="int" setter="set_patch_margin" getter="get_patch_margin" default="0">
|
||||
The height of the 9-slice's top row. A margin of 16 means the 9-slice's top corners and side will have a height of 16 pixels. You can set all 4 margin values individually to create panels with non-uniform borders.
|
||||
</member>
|
||||
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" default="Rect2( 0, 0, 0, 0 )">
|
||||
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" default="Rect2(0, 0, 0, 0)">
|
||||
Rectangular region of the texture to sample from. If you're working with an atlas, use this property to define the area the 9-slice should use. All other properties are relative to this one. If the rect is empty, NinePatchRect will use the whole texture.
|
||||
</member>
|
||||
<member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
|
||||
|
|
|
@ -568,7 +568,7 @@
|
|||
</return>
|
||||
<argument index="0" name="method" type="StringName">
|
||||
</argument>
|
||||
<argument index="1" name="args" type="Array" default="[ ]">
|
||||
<argument index="1" name="args" type="Array" default="[]">
|
||||
</argument>
|
||||
<argument index="2" name="parent_first" type="bool" default="false">
|
||||
</argument>
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
<member name="global_transform" type="Transform2D" setter="set_global_transform" getter="get_global_transform">
|
||||
Global [Transform2D].
|
||||
</member>
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||
Position, relative to the node's parent.
|
||||
</member>
|
||||
<member name="rotation" type="float" setter="set_rotation" getter="get_rotation" default="0.0">
|
||||
|
@ -140,7 +140,7 @@
|
|||
<member name="rotation_degrees" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees" default="0.0">
|
||||
Rotation in degrees, relative to the node's parent.
|
||||
</member>
|
||||
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2( 1, 1 )">
|
||||
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2(1, 1)">
|
||||
The node's scale. Unscaled value: [code](1, 1)[/code].
|
||||
</member>
|
||||
<member name="skew" type="float" setter="set_skew" getter="get_skew" default="0.0">
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
</return>
|
||||
<argument index="0" name="target" type="Vector3">
|
||||
</argument>
|
||||
<argument index="1" name="up" type="Vector3" default="Vector3( 0, 1, 0 )">
|
||||
<argument index="1" name="up" type="Vector3" default="Vector3(0, 1, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Rotates itself so that the local -Z axis points towards the [code]target[/code] position.
|
||||
|
@ -118,7 +118,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="target" type="Vector3">
|
||||
</argument>
|
||||
<argument index="2" name="up" type="Vector3" default="Vector3( 0, 1, 0 )">
|
||||
<argument index="2" name="up" type="Vector3" default="Vector3(0, 1, 0)">
|
||||
</argument>
|
||||
<description>
|
||||
Moves the node to the specified [code]position[/code], and then rotates itself to point toward the [code]target[/code] as per [method look_at]. Operations take place in global space.
|
||||
|
@ -291,23 +291,23 @@
|
|||
<member name="global_transform" type="Transform3D" setter="set_global_transform" getter="get_global_transform">
|
||||
World3D space (global) [Transform3D] of this node.
|
||||
</member>
|
||||
<member name="position" type="Vector3" setter="set_position" getter="get_position" default="Vector3( 0, 0, 0 )">
|
||||
<member name="position" type="Vector3" setter="set_position" getter="get_position" default="Vector3(0, 0, 0)">
|
||||
Local position or translation of this node relative to the parent. This is equivalent to [code]transform.origin[/code].
|
||||
</member>
|
||||
<member name="rotation" type="Vector3" setter="set_rotation" getter="get_rotation">
|
||||
Rotation part of the local transformation in radians, specified in terms of YXZ-Euler angles in the format (X angle, Y angle, Z angle).
|
||||
[b]Note:[/b] In the mathematical sense, rotation is a matrix and not a vector. The three Euler angles, which are the three independent parameters of the Euler-angle parametrization of the rotation matrix, are stored in a [Vector3] data structure not because the rotation is a vector, but only because [Vector3] exists as a convenient data-structure to store 3 floating-point numbers. Therefore, applying affine operations on the rotation "vector" is not meaningful.
|
||||
</member>
|
||||
<member name="rotation_degrees" type="Vector3" setter="set_rotation_degrees" getter="get_rotation_degrees" default="Vector3( 0, 0, 0 )">
|
||||
<member name="rotation_degrees" type="Vector3" setter="set_rotation_degrees" getter="get_rotation_degrees" default="Vector3(0, 0, 0)">
|
||||
Rotation part of the local transformation in degrees, specified in terms of YXZ-Euler angles in the format (X angle, Y angle, Z angle).
|
||||
</member>
|
||||
<member name="scale" type="Vector3" setter="set_scale" getter="get_scale" default="Vector3( 1, 1, 1 )">
|
||||
<member name="scale" type="Vector3" setter="set_scale" getter="get_scale" default="Vector3(1, 1, 1)">
|
||||
Scale part of the local transformation.
|
||||
</member>
|
||||
<member name="top_level" type="bool" setter="set_as_top_level" getter="is_set_as_top_level" default="false">
|
||||
If [code]true[/code], the node will not inherit its transformations from its parent. Node transformations are only in global space.
|
||||
</member>
|
||||
<member name="transform" type="Transform3D" setter="set_transform" getter="get_transform" default="Transform3D( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
|
||||
<member name="transform" type="Transform3D" setter="set_transform" getter="get_transform" default="Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)">
|
||||
Local space [Transform3D] of this node, with respect to the parent node.
|
||||
</member>
|
||||
<member name="visibility_parent" type="NodePath" setter="set_visibility_parent" getter="get_visibility_parent" default="NodePath("")">
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="arguments" type="PackedStringArray">
|
||||
</argument>
|
||||
<argument index="2" name="output" type="Array" default="[ ]">
|
||||
<argument index="2" name="output" type="Array" default="[]">
|
||||
</argument>
|
||||
<argument index="3" name="read_stderr" type="bool" default="false">
|
||||
</argument>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue