public class SoTextDetail extends SoDetail
SoText2 or SoText3). It contains the part of the text, string, and character that were hit or generated.
See also:
SoText2, SoText3, SoDetail, SoPickedPoint, SoPrimitiveVertex
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoTextDetail()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SoDetail |
copy()
Returns an instance that is a copy of this instance.
|
int |
getCharacterIndex()
Returns the index of the relevant character within the string.
|
SoText3.PartType |
getPart()
For
SoText3, this returns which part was picked or generated. |
int |
getStringIndex()
Returns the index of the relevant string within a multiple-value string field of a text node.
|
void |
setCharacterIndex(int i) |
void |
setPart(SoText3.PartType p) |
void |
setStringIndex(int i) |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic void setStringIndex(int i)
public SoText3.PartType getPart()
SoText3, this returns which part was picked or generated.public void setPart(SoText3.PartType p)
public SoDetail copy()
public int getStringIndex()
public int getCharacterIndex()
public void setCharacterIndex(int i)
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com