Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Xbim.Ifc
    Assembly: Xbim.Ifc.dll
    Syntax
    public class XbimTexture

    Fields

    | Improve this Doc View Source

    ColourMap

    Declaration
    public readonly XbimColourMap ColourMap
    Field Value
    Type Description
    XbimColourMap
    | Improve this Doc View Source

    DiffuseReflectionColour

    Declaration
    public XbimColour DiffuseReflectionColour
    Field Value
    Type Description
    XbimColour
    | Improve this Doc View Source

    DiffuseTransmissionColour

    Declaration
    public XbimColour DiffuseTransmissionColour
    Field Value
    Type Description
    XbimColour
    | Improve this Doc View Source

    ReflectanceColour

    Declaration
    public XbimColour ReflectanceColour
    Field Value
    Type Description
    XbimColour
    | Improve this Doc View Source

    TransmissionColour

    Declaration
    public XbimColour TransmissionColour
    Field Value
    Type Description
    XbimColour

    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
    Type Description
    XbimTexture
    | Improve this Doc View Source

    Create(XbimColour)

    Declaration
    public static XbimTexture Create(XbimColour colour)
    Parameters
    Type Name Description
    XbimColour colour
    Returns
    Type Description
    XbimTexture
    | Improve this Doc View Source

    Create(IIfcColourRgb)

    Declaration
    public static XbimTexture Create(IIfcColourRgb colour)
    Parameters
    Type Name Description
    IIfcColourRgb colour
    Returns
    Type Description
    XbimTexture
    | Improve this Doc View Source

    Create(IIfcSurfaceStyle)

    Declaration
    public static XbimTexture Create(IIfcSurfaceStyle surfaceStyle)
    Parameters
    Type Name Description
    IIfcSurfaceStyle surfaceStyle
    Returns
    Type Description
    XbimTexture
    | Improve this Doc View Source

    Create(IIfcSurfaceStyleRendering)

    Declaration
    public static XbimTexture Create(IIfcSurfaceStyleRendering rendering)
    Parameters
    Type Name Description
    IIfcSurfaceStyleRendering rendering
    Returns
    Type Description
    XbimTexture
    | Improve this Doc View Source

    Create(IIfcSurfaceStyleShading)

    Declaration
    public static XbimTexture Create(IIfcSurfaceStyleShading shading)
    Parameters
    Type Name Description
    IIfcSurfaceStyleShading shading
    Returns
    Type Description
    XbimTexture
    | 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
    Type Description
    XbimTexture
    | 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()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim