Stores detail information about a text node.
SoText3::Part getPart() const
For Text3, this returns which part was picked:
void setCharacterIndex(long i)
void setStringIndex(long i)
void setCharacterIndex(int32_t i)
void setStringIndex(int32_t i)
These set the string and character indices:
virtual ~SoTextDetail()
Constructor and destructor.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
int32_t getCharacterIndex() const
Returns the index of the relevant character within the string.
SoTextDetail()
Constructor and destructor.
void setPart(SoText3::Part p)
For Text3, this sets which part is picked:
int32_t getStringIndex() const
Returns the index of the relevant string within a multiple-value string field of a text node.