Fix miscellaneous oddities around the class reference (part 6)
This commit is contained in:
@@ -14,21 +14,21 @@
|
||||
<return type="bool" />
|
||||
<param index="0" name="feature" type="int" enum="BaseMaterial3D.Feature" />
|
||||
<description>
|
||||
Returns [code]true[/code], if the specified [enum Feature] is enabled.
|
||||
Returns [code]true[/code] if the specified [param feature] is enabled.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_flag" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="flag" type="int" enum="BaseMaterial3D.Flags" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the specified flag is enabled.
|
||||
Returns [code]true[/code] if the specified [param flag] is enabled.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_texture" qualifiers="const">
|
||||
<return type="Texture2D" />
|
||||
<param index="0" name="param" type="int" enum="BaseMaterial3D.TextureParam" />
|
||||
<description>
|
||||
Returns the [Texture2D] associated with the specified [enum TextureParam].
|
||||
Returns the [Texture2D] associated with the specified texture [param param].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_feature">
|
||||
@@ -36,7 +36,7 @@
|
||||
<param index="0" name="feature" type="int" enum="BaseMaterial3D.Feature" />
|
||||
<param index="1" name="enable" type="bool" />
|
||||
<description>
|
||||
If [code]true[/code], enables the specified [enum Feature]. Many features that are available in [BaseMaterial3D]s need to be enabled before use. This way the cost for using the feature is only incurred when specified. Features can also be enabled by setting the corresponding member to [code]true[/code].
|
||||
If [param enable] is [code]true[/code], enables the specified [param feature]. Many features that are available in [BaseMaterial3D] need to be enabled before use. This way, the cost for using the feature is only incurred when specified. Features can also be enabled by setting their corresponding property to [code]true[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_flag">
|
||||
@@ -44,7 +44,7 @@
|
||||
<param index="0" name="flag" type="int" enum="BaseMaterial3D.Flags" />
|
||||
<param index="1" name="enable" type="bool" />
|
||||
<description>
|
||||
If [code]true[/code], enables the specified flag. Flags are optional behavior that can be turned on and off. Only one flag can be enabled at a time with this function, the flag enumerators cannot be bit-masked together to enable or disable multiple flags at once. Flags can also be enabled by setting the corresponding member to [code]true[/code].
|
||||
If [param enable] is [code]true[/code], enables the specified [param flag]. Flags are optional behavior that can be turned on and off. Only one flag can be enabled at a time with this function, the flag enumerators cannot be bit-masked together to enable or disable multiple flags at once. Flags can also be enabled by setting their corresponding property to [code]true[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_texture">
|
||||
|
||||
Reference in New Issue
Block a user