You are here: Start » AVL.NET » Surface Class

Surface Class

Namespace:AvlNet
Assembly:AVL.NET.TS.dll

Constructors

 ConstructorDescription
Surface(Int32, Int32, Single[])Initializes a new instance of the Surface class from provided data. Type is taken from the last parameter
Surface(Int32, Int32, Int32[])Initializes a new instance of the Surface class from provided data. Type is taken from the last parameter
Surface(Int32, Int32, Int16[])Initializes a new instance of the Surface class from provided data. Type is taken from the last parameter
Surface(Int32, Int32, UInt16[])Initializes a new instance of the Surface class from provided data. Type is taken from the last parameter
Surface(Int32, Int32, SByte[])Initializes a new instance of the Surface class from provided data. Type is taken from the last parameter
Surface(Int32, Int32, Byte[])Initializes a new instance of the Surface class from provided data. Type is taken from the last parameter
Surface(Int32, Int32, PlainType)Initializes a new instance of the Surface class with specified width, height and data type
Surface()Initializes a new empty instance of the Surface class

Properties

 NameTypeDescription
DataSystem.IntPtrGets the pointer to the raw surface data
HeightSystem.Int32Gets the surface height
IsDisposedSystem.Boolean
IsEmptySystem.BooleanIndicates whether the surface is empty
PitchSystem.Int32Gets the surface pitch
TypeAvlNet.PlainTypeGets the surface data type
WidthSystem.Int32Gets the surface width
XOffsetSystem.DoubleGets the surface x offset
XScaleSystem.DoubleGets the surface x scale
YOffsetSystem.DoubleGets the surface y offset
YScaleSystem.DoubleGets the surface y scale
ZOffsetSystem.DoubleGets the surface z offset
ZScaleSystem.DoubleGets the surface z scale

Methods

 NameDescription
Dispose()Disposes underlying unmanaged resources. See MSDN documentation for IDisposable interface for more info.
Equals(object)Inherited from System.Object
GetHashCode()Inherited from System.Object
GetType()Inherited from System.Object
Reset(int, int, byte[])Resets current instance of the Surface class with provided data. Type is taken from the last parameter
Reset(int, int, short[])Resets current instance of the Surface class with provided data. Type is taken from the last parameter
Reset(int, int, int[])Resets current instance of the Surface class with provided data. Type is taken from the last parameter
Reset(int, int, AvlNet.PlainType)Resets current instance of the Surface class
Reset(int, int, sbyte[])Resets current instance of the Surface class with provided data. Type is taken from the last parameter
Reset(int, int, float[])Resets current instance of the Surface class with provided data. Type is taken from the last parameter
Reset(int, int, ushort[])Resets current instance of the Surface class with provided data. Type is taken from the last parameter
SetOffsetAndScales(double, double, double, double, double, double)Sets the surface offsets and scales
ToString()Inherited from System.Object

See also