b087538119
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PrismMesh" inherits="PrimitiveMesh" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Class representing a prism-shaped [PrimitiveMesh].
|
|
</brief_description>
|
|
<description>
|
|
Class representing a prism-shaped [PrimitiveMesh].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="left_to_right" type="float" setter="set_left_to_right" getter="get_left_to_right" default="0.5">
|
|
Displacement of the upper edge along the X axis. 0.0 positions edge straight above the bottom-left edge.
|
|
</member>
|
|
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )">
|
|
Size of the prism.
|
|
</member>
|
|
<member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth" default="0">
|
|
Number of added edge loops along the Z axis.
|
|
</member>
|
|
<member name="subdivide_height" type="int" setter="set_subdivide_height" getter="get_subdivide_height" default="0">
|
|
Number of added edge loops along the Y axis.
|
|
</member>
|
|
<member name="subdivide_width" type="int" setter="set_subdivide_width" getter="get_subdivide_width" default="0">
|
|
Number of added edge loops along the X axis.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|