TextureVectorToEuler#
(Vector To Euler)
- Category:
/Texture/Math
- Default object name:
vector_to_euler
- Inherits from: ProjectItem > TextureOperator > Texture
Description#
Perform a mathematical operation returning an normalized euler angle from a vector.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
double[3] |
input |
VISUAL_HINT_COLOR |
Define the input vector. |
long |
rotation_order |
VISUAL_HINT_DEFAULT |
Specify on which order the Euler rotations are composed. |
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 "TextureVectorToEuler" "Texture" {
#version 0.9
icon "../icons/object_icons/texture_vector_to_euler.iconrc"
category "/Texture/Math"
doc "Perform a mathematical operation returning an normalized euler angle from a vector."
attribute_group "input" {
color "input" {
doc "Define the input vector."
texturable yes
animatable yes
value 1 0.0 0.0
}
long "rotation_order" {
doc "Specify on which order the Euler rotations are composed."
preset "XYZ" "8193"
preset "XZY" "4353"
preset "YZX" "1"
preset "YXZ" "8449"
preset "ZXY" "4097"
preset "ZYX" "257"
value 4097
}
}
set "master_input" {
private no
hidden no
saveable yes
texturable no
animatable no
slider no
numeric_range no 0.0 1
ui_range no 0.0 1
dg_active yes
dg_cyclic no
dirtiness_pass_through no
read_only no
shading_variable no
experimental no
advanced no
overriden no
promote_attribute no
allow_expression yes
localizable yes
value "input"
}
}