property Texture.AllowRotate as Long
Specifies the directions where the user can drag the cube.

TypeDescription
Long A long expression that specifies an OR combination of RotateEnum values, that specifies the directions where the user can rotate the cube by dragging.
By default, the AllowRotate property is exRotateAll, and that means that the user can rotate the cube to any direction. For instance, if the AllowRotate property is exRotateLeft + exRotateRight, the user can rotate the cube to the left or to the right.  Use the Rotate method to programmatically rotate the cube. The control fires the Rotate event when the cube is rotated. Use the RotX and RotY properties to specify the rotation angles.