TextureCurveUtility#
(Curve Utility)
- Category:
/Texture/Utility
- Default object name:
curve_utility
- Inherits from: ProjectItem > TextureOperator > Texture
Description#
Utility texture allowing to output the information of the current fragment.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
long |
output |
VISUAL_HINT_DEFAULT |
Set which information should be outputted from the texture. See the documentation for more details. |
long |
space |
VISUAL_HINT_DEFAULT |
Set the space for positions and tangents output. |
long |
target |
VISUAL_HINT_DEFAULT |
Set the target for the radii output. |
long |
ID_output_mode |
VISUAL_HINT_DEFAULT |
Set the type of display to use when outputting an ID. Raw Value returns the Curve ID, Color Coded returns an encoded random color per curve, Random ID returns a random value as a black and white color which is useful when adding randomization in textures. |
long |
ID_seed |
VISUAL_HINT_DEFAULT |
Seed used to generate the color coded or random value. |
Inherited Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
bool |
pass_through |
VISUAL_HINT_DEFAULT |
If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded. |
string |
master_input |
VISUAL_HINT_TAG |
Name of the attribute that will be used as output if Pass Through is enabled. |
bool |
invert |
VISUAL_HINT_DEFAULT |
If checked, the texture is inverted. |
double |
opacity |
VISUAL_HINT_PERCENTAGE |
Set the opacity of the texture. |
CID#
class "TextureCurveUtility" "Texture" {
#version 0.92
icon "../icons/object_icons/texture_curve_utility.iconrc"
category "/Texture/Utility"
doc "Utility texture allowing to output the information of the current fragment."
attribute_group "output" {
long "output" {
doc "Set which information should be outputted from the texture. See the documentation for more details."
preset "P (Position)" "0"
preset "Tangent" "1"
preset "Radius" "2"
preset "Curve ID" "3"
value 0
}
long "space" {
doc "Set the space for positions and tangents output."
preset "World" "1"
preset "Local" "0"
preset "Camera" "2"
value 1
}
long "target" {
doc "Set the target for the radii output."
preset "Root" "0"
preset "Tip" "1"
preset "Fragment" "2"
value 0
}
}
attribute_group "ID" {
long "ID_output_mode" {
doc "Set the type of display to use when outputting an ID. Raw Value returns the Curve ID, Color Coded returns an encoded random color per curve, Random ID returns a random value as a black and white color which is useful when adding randomization in textures."
read_only yes
preset "Raw Value" "0"
preset "Color Coded" "1"
preset "Random Value" "2"
value 1
}
long "ID_seed" {
doc "Seed used to generate the color coded or random value."
numeric_range yes 0.0 1000000000
ui_range yes 0.0 1000
read_only yes
value 0
}
}
}