#K$ SPO_GetDrawFlag

Syntax 
SPO_GetDrawFlag( SuperObject, FlagIndex, OperationType)
Return Value
Return old value of flag
Description
Retrieve current value of a draw mask flag of given SuperObject
Index of flag (between 0 and 31, see notes)
Notes
Here are the different meaning of each bit of DrawMask of SuperObject:

Bit	Meaning of bit when it’s value is 1	Bit	Meaning of bit when it’s value is 1	
0	IsTextured	16	IsUseShadow	
1	IsGouraud	17	CameraIsUnderWater	
2 	IsNotWired	18	NotForceZSorting	
3	IsNotGrided	19	NotInvertBackfaces	
4	IsNotDoted	20	NotHideWhatIsUnderWater	
5	IsNotOutlined	21	DrawNothing	
6 	IsNotDrawCollideInformation	22	IsNotChromed	
7 	IsNotDrawCollideInformationLight 	23	IsNotVisibleInRealWorld	
8	IsNotForceDefaultMaterial 	24	IsNotVisibleInSymetricWorld	
9	IsNotForceColorMaterial 	25	IsNotDrawingInMirror	
10	IsTestingBackface	26	IsNotLightAlphaSensitive	
11	IsNotDrawingSuperObjectBoundingVolume	27	IsWriteZBuffer	
12	IsUseRLI	28	IsNot2	
13	IsNotComputeSpecular	29	IsNot3	
14	IsNotMakeWaterEffect	30	IsEnableZSorting	
15	IsUseStaticLights	31	HasNotSinusEffect	

Samples
If you want to know if an object is deformed by a sinus transformation use
If ( SPO_GetDrawFlag( “SPO_Name”, 31 ) = 0)
Then
	…
EndIf

See also
SPO_SetDrawFlag, SPO_SetEngineDisplayModeFlag