30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="TubeTrailMesh" inherits="PrimitiveMesh" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="cap_bottom" type="bool" setter="set_cap_bottom" getter="is_cap_bottom" default="true">
|
|
If [code]true[/code], generates a cap at the bottom of the tube. This can be set to [code]false[/code] to speed up generation and rendering when the cap is never seen by the camera.
|
|
</member>
|
|
<member name="cap_top" type="bool" setter="set_cap_top" getter="is_cap_top" default="true">
|
|
If [code]true[/code], generates a cap at the top of the tube. This can be set to [code]false[/code] to speed up generation and rendering when the cap is never seen by the camera.
|
|
</member>
|
|
<member name="curve" type="Curve" setter="set_curve" getter="get_curve">
|
|
</member>
|
|
<member name="radial_steps" type="int" setter="set_radial_steps" getter="get_radial_steps" default="8">
|
|
</member>
|
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="0.5">
|
|
</member>
|
|
<member name="section_length" type="float" setter="set_section_length" getter="get_section_length" default="0.2">
|
|
</member>
|
|
<member name="section_rings" type="int" setter="set_section_rings" getter="get_section_rings" default="3">
|
|
</member>
|
|
<member name="sections" type="int" setter="set_sections" getter="get_sections" default="5">
|
|
</member>
|
|
</members>
|
|
</class>
|