get method

  1. @override
Object? get(
  1. Token name
)
override

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case "skew":
      return Matrix4skew();
    case "skewX":
      return Matrix4skewX();
    case "skewY":
      return Matrix4skewY();
    case "translationValues":
      return Matrix4translate();
    case "rotationX":
      return Matrix4rotationX();
    case "rotationY":
      return Matrix4rotationY();
    case "rotationZ":
      return Matrix4rotationZ();
    case "diagonal3Values":
      return Matrix4scale();
    case "zero":
      return Matrix4.zero();
    case "identity":
      return Matrix4.identity();
  }
}