The integer constant PRIM_TEXGEN_PLANAR has the value 1
Used with PRIM_TEXGEN to set the texture mapping mode, specifically that the texture repeats units are in texture repeats per half meter. This is in contrast to the in-world editing tool, in which the planar texture scaling units are repeats per meter.
integer PRIM_TEXGEN_PLANAR = 1;