• Returns an attribute expression. Expressions are evaluated for certain objects. Those object may have attributes ascribed to them. This expression allows access to those attributes by name. Which attributes are available depends on the evaluator of the expression. For example, for parameterized point painting, those attributes are defined in the constructor of the ParameterizedPointPainter.

    Parameters

    • name: string

      The name of the attribute to use.

    • Optional vectorSize: number

      The length of the attribute's vector, 1 if it is a simple number.

    Returns Expression<number>

    An expression that represents the attribute.