Click or drag to resize
SoShapeStyleElement Class

Stores some information used by shapes.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoShapeStyleElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public class SoShapeStyleElement : SoElement

The SoShapeStyleElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Get a readable instance.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetRenderCaseMask

Returns a mask that can be used by the SoVertexPropertyCache class (see SoVertexProperty.h for the SoRenderInfo class) to quickly mask out the normal or texture coordinate cases if normals or texture coordinates aren't needed.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMightNotRender

Returns true if shapes may not render for some reason.

Public methodNeedNormals

Returns true if need normals.

Public methodNeedTangents

Returns true if need tangents.

Public methodNeedTexCoords
Calls NeedTexCoords(System.Int32(0)).
Public methodNeedTexCoords(Int32)

Returns true if need texture coordinates.

Public methodNeedTexCoords3
Calls NeedTexCoords3(System.Int32(0)).
Public methodNeedTexCoords3(Int32)

Returns true if need 3D texture coordinates.

Public methodPop

Pops element.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Pushes element.

(Overrides SoElementPush(SoState).)
Public methodStatic memberSetComplexityType

API used by other elements.

Public methodStatic memberSetDrawStyle

API used by other elements.

Public methodStatic memberSetLightModel

API used by other elements.

Public methodStatic memberSetOverrides

Set value is true if either diffuse, transparency, or materialbinding are overridden; otherwise false.

Public methodStatic memberSetTexture3Enabled(SoState, Boolean)
Calls SetTexture3Enabled(state, value, System.Int32(0)).
Public methodStatic memberSetTexture3Enabled(SoState, Boolean, Int32)

API used by other elements.

Public methodStatic memberSetTextureEnabled(SoState, Boolean)
Calls SetTextureEnabled(state, value, System.Int32(0)).
Public methodStatic memberSetTextureEnabled(SoState, Boolean, Int32)

API used by other elements.

Public methodStatic memberSetTextureFunction(SoState, Boolean)
Calls SetTextureFunction(state, value, System.Int32(0)).
Public methodStatic memberSetTextureFunction(SoState, Boolean, Int32)

API used by other elements.

Public methodStatic memberSetTransparencyType

API used by other elements.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This elements stores some information shapes need to quickly determine whether or not they should render, and, if they should render, how they should render. Specifically, it stores:

NeedNormals: true if lighting is on NeedTangents: true if lighting is on NeedTexCoords: true if texturing and texcoords not generated by GL MightNotRender: true if:

  • bounding box complexity

  • invisible drawstyle

  • render abort callback registered

See Also