public class DefaultTechniqueParametersModel extends java.lang.Object implements TechniqueParametersModel
TechniqueParametersModel| Constructor and Description |
|---|
DefaultTechniqueParametersModel(int type,
int count,
java.lang.String semantic,
java.lang.Object value,
NodeModel nodeModel)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns the count
|
NodeModel |
getNodeModel()
Returns the
NodeModel of the node that this parameter
refers to. |
java.lang.String |
getSemantic()
Returns the string describing the
Semantic of this parameter. |
int |
getType()
Returns the type of the parameter, as a GL constant.
|
java.lang.Object |
getValue()
Returns the value of this parameter
|
public int getType()
TechniqueParametersModelGL_INT or GL_FLOAT_VEC3getType in interface TechniqueParametersModelpublic int getCount()
TechniqueParametersModelgetCount in interface TechniqueParametersModelpublic java.lang.String getSemantic()
TechniqueParametersModelSemantic of this parameter.
This may be a string that starts with an underscore "_",
indicating a custom semanticgetSemantic in interface TechniqueParametersModelSemantic stringpublic java.lang.Object getValue()
TechniqueParametersModelgetValue in interface TechniqueParametersModelpublic NodeModel getNodeModel()
TechniqueParametersModelNodeModel of the node that this parameter
refers to. This is, for example, used for computing the
Semantic.MODEL matrix.getNodeModel in interface TechniqueParametersModelNodeModelCopyright © 2022. All Rights Reserved.