# VaryingType

engine/Source/Scene/Model/VaryingType.js 9
An enum for the GLSL varying types. These can be used for declaring varyings in `CustomShader`

##### Properties:

Name | Type | Description
--- | --- | ---
`FLOAT` | string | A single floating point value.
`VEC2` | string | A vector of 2 floating point values.
`VEC3` | string | A vector of 3 floating point values.
`VEC4` | string | A vector of 4 floating point values.
`MAT2` | string | A 2x2 matrix of floating point values.
`MAT3` | string | A 3x3 matrix of floating point values.
`MAT4` | string | A 3x3 matrix of floating point values.

##### Experimental

This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.

### Members

#### static constant Cesium.VaryingType.FLOAT : string
engine/Source/Scene/Model/VaryingType.js 16

A single floating point value.

Default Value: `float`

#### static constant Cesium.VaryingType.MAT2 : string
engine/Source/Scene/Model/VaryingType.js 44

A 2x2 matrix of floating point values.

Default Value: `mat2`

#### static constant Cesium.VaryingType.MAT3 : string
engine/Source/Scene/Model/VaryingType.js 51

A 3x3 matrix of floating point values.

Default Value: `mat2`

#### static constant Cesium.VaryingType.MAT4 : string
engine/Source/Scene/Model/VaryingType.js 58

A 3x3 matrix of floating point values.

Default Value: `mat4`

#### static constant Cesium.VaryingType.VEC2 : string
engine/Source/Scene/Model/VaryingType.js 23

A vector of 2 floating point values.

Default Value: `vec2`

#### static constant Cesium.VaryingType.VEC3 : string
engine/Source/Scene/Model/VaryingType.js 30

A vector of 3 floating point values.

Default Value: `vec3`

#### static constant Cesium.VaryingType.VEC4 : string
engine/Source/Scene/Model/VaryingType.js 37

A vector of 4 floating point values.

Default Value: `vec4`

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.