Show / Hide Table of Contents

Class ImSliderStyleExtensions

Inheritance
System.Object
ImSliderStyleExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: InitialPrefabs.NimGui
Assembly: InitialPrefabs.ImGui.dll
Syntax
public static class ImSliderStyleExtensions

Methods

AsRef(ImSliderStyle)

Returns a reference to a copy of the style. This API is considered experimental.

Declaration
public static ref ImSliderStyle AsRef(this ImSliderStyle style)
Parameters
Type Name Description
ImSliderStyle style

The style to copy.

Returns
Type Description
ImSliderStyle

The reference to the copy of the style.

GetButtonStyle(in ImSliderStyle)

Gets the implicit ImButtonStyle from the ImSliderStyle.

Declaration
public static ImButtonStyle GetButtonStyle(this in ImSliderStyle style)
Parameters
Type Name Description
ImSliderStyle style

The reference to the ImSliderStyle.

Returns
Type Description
ImButtonStyle

An instance of the ImButtomStyle.

GetTextStyle(in ImSliderStyle)

Gets the implicit ImTextStyle from the ImSliderStyle.

Declaration
public static ImTextStyle GetTextStyle(this in ImSliderStyle style)
Parameters
Type Name Description
ImSliderStyle style

The reference to the ImSliderStyle.

Returns
Type Description
ImTextStyle

An instance of the ImTextStyle.

WithButtonStyle(ref ImSliderStyle, in ImButtonStyle)

Sets the implicit ImButtonStyle to the ImSliderStyle.

Declaration
public static ref ImSliderStyle WithButtonStyle(this ref ImSliderStyle slider, in ImButtonStyle style)
Parameters
Type Name Description
ImSliderStyle slider

A reference to ImSliderStyle.

ImButtonStyle style

A reference to the button style.

Returns
Type Description
ImSliderStyle
In This Article
Back to top Generated by DocFX