Function GetTextureShininess returns the shininess value of the referenced texture. The value is expressed as a percentage value with 0 equaling "Dull".
FUNCTION GetTextureShininess(texture : HANDLE): INTEGER;def vs.GetTextureShininess(texture):
return INTEGER| Name | Type | Description |
|---|---|---|
| texture | HANDLE | Handle to texture. |
Percentage value - 0 equals ?Dull?
resultN := GetTextureShininess(texture);import vs
# Function GetTextureShininess returns the shininess value of the referenced
# texture.
texture = vs.FSActLayer() # handle to the first selected object on the active layer
resultN = vs.GetTextureShininess(texture)
vs.Message('GetTextureShininess returned: ' + str(resultN))GetTextureShininess is obsolete as of VectorWorks9.0
Availability: from VectorWorks8.0