Class XbimTexture
Class to hold the surface style or texture of an object, corresponds to IIfcSurfaceStyle and OpenGL Texture
Does not handle bitmap textured surfaces etc at present
Inheritance
System.Object
XbimTexture
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Xbim.Ifc.dll
Syntax
Fields
|
Improve this Doc
View Source
ColourMap
Declaration
public readonly XbimColourMap ColourMap
Field Value
|
Improve this Doc
View Source
DiffuseReflectionColour
Declaration
public XbimColour DiffuseReflectionColour
Field Value
|
Improve this Doc
View Source
DiffuseTransmissionColour
Declaration
public XbimColour DiffuseTransmissionColour
Field Value
|
Improve this Doc
View Source
ReflectanceColour
Declaration
public XbimColour ReflectanceColour
Field Value
|
Improve this Doc
View Source
TransmissionColour
Declaration
public XbimColour TransmissionColour
Field Value
Properties
|
Improve this Doc
View Source
DefinedObjectId
The object that this style defines
Declaration
public int DefinedObjectId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsTransparent
Declaration
public bool IsTransparent { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RenderBothFaces
Declaration
public bool RenderBothFaces { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SwitchFrontAndRearFaces
Declaration
public bool SwitchFrontAndRearFaces { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Create(Byte, Byte, Byte, Byte)
Declaration
public static XbimTexture Create(byte red = 255, byte green = 255, byte blue = 255, byte alpha = 255)
Parameters
Type |
Name |
Description |
System.Byte |
red |
|
System.Byte |
green |
|
System.Byte |
blue |
|
System.Byte |
alpha |
|
Returns
|
Improve this Doc
View Source
Create(XbimColour)
Declaration
public static XbimTexture Create(XbimColour colour)
Parameters
Returns
|
Improve this Doc
View Source
Create(IIfcColourRgb)
Declaration
public static XbimTexture Create(IIfcColourRgb colour)
Parameters
Returns
|
Improve this Doc
View Source
Create(IIfcSurfaceStyle)
Declaration
public static XbimTexture Create(IIfcSurfaceStyle surfaceStyle)
Parameters
Returns
|
Improve this Doc
View Source
Create(IIfcSurfaceStyleRendering)
Declaration
public static XbimTexture Create(IIfcSurfaceStyleRendering rendering)
Parameters
Returns
|
Improve this Doc
View Source
Create(IIfcSurfaceStyleShading)
Declaration
public static XbimTexture Create(IIfcSurfaceStyleShading shading)
Parameters
Returns
|
Improve this Doc
View Source
CreateTexture(Single, Single, Single, Single)
Sets the texture property for a single colour
Declaration
public XbimTexture CreateTexture(float red = 1F, float green = 1F, float blue = 1F, float alpha = 1F)
Parameters
Type |
Name |
Description |
System.Single |
red |
the red component of the colour in a range 0.0f to 1.0f
|
System.Single |
green |
the green component of the colour in a range 0.0f to 1.0f
|
System.Single |
blue |
the blue component of the colour in a range 0.0f to 1.0f
|
System.Single |
alpha |
opaqueness of the colour in a range 0.0f to 1.0f (1.0f meaning completely opaque)
|
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()