C# Class CSharpGL.ClipPlaneState

specify a plane against which all geometry is clipped.

you can't use glClipPlane and vertex programs together.

Inheritance: EnableState
Exibir arquivo Open project: bitzhuwei/CSharpGL

Private Properties

Property Type Description
ClipPlaneState System.ComponentModel
Init void

Public Methods

Method Description
ClipPlaneState ( bool enableCapacity ) : System.ComponentModel

specify a plane against which all geometry is clipped.

ClipPlaneState ( uint planeIndex, double equation ) : System.ComponentModel

specify a plane against which all geometry is clipped.

ClipPlaneState ( uint planeIndex, double equation, bool enableCapacity ) : System.ComponentModel

specify a plane against which all geometry is clipped.

ToString ( ) : string

Protected Methods

Method Description
StateOn ( ) : void

Private Methods

Method Description
ClipPlaneState ( ) : System.ComponentModel
Init ( uint planeIndex, double equation ) : void

Method Details

ClipPlaneState() public method

specify a plane against which all geometry is clipped.
public ClipPlaneState ( bool enableCapacity ) : System.ComponentModel
enableCapacity bool Enable() or Disable() this capacity?
return System.ComponentModel

ClipPlaneState() public method

specify a plane against which all geometry is clipped.
public ClipPlaneState ( uint planeIndex, double equation ) : System.ComponentModel
planeIndex uint Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES -1 , are accepted. /// Just put in 0, 1, ... GL_MAX_CLIP_PLANES -1./// ///
equation double Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
return System.ComponentModel

ClipPlaneState() public method

specify a plane against which all geometry is clipped.
public ClipPlaneState ( uint planeIndex, double equation, bool enableCapacity ) : System.ComponentModel
planeIndex uint Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES -1 , are accepted. /// Just put in 0, 1, ... GL_MAX_CLIP_PLANES -1./// ///
equation double Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
enableCapacity bool Enable() or Disable() this capacity?
return System.ComponentModel

StateOn() protected method

protected StateOn ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string