SoVertexAttributeRotation¶
- InventorModule¶
genre
author
package
dll
definition
Purpose¶
SoVertexAttributeRotation sends SbRotation values as vertex attribute for a shader.
It sends the rotations in quaternion form (four floats), since quaternions can be used easily inside of a GLSL shader. Note that the interface of SoMFRotation takes a list of SbRotation, which are constructed from an axis and an angle (in radians) if specified from a string. There is also a SbRotation constructor that takes four floats instead of axis and angle, which are the four values of a unit quaternion.
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Visible Fields¶
Name¶
- name: name, type: String, default: attribute1¶
Per Instance¶
- name: perInstance, type: Bool, default: FALSE¶
Values¶
- name: values, type: Vector4List, default: 0 0 1 0¶