• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.LibNoiseShader
      • CSharpContext
      • Float3
      • Float4
      • HlslContext
      • Interpolation
      • LatLon
      • Noise3D
    • JeremyAnsel.LibNoiseShader.Builders
      • BuilderBase
      • CylinderBuilder
      • IBuilder
      • PlaneBuilder
      • SphereBuilder
    • JeremyAnsel.LibNoiseShader.IO
      • LibNoiseShaderFile
      • LibNoiseShaderFileContext
    • JeremyAnsel.LibNoiseShader.IO.FileBuilders
      • CylinderFileBuilder
      • FileBuilderBase
      • IFileBuilder
      • PlaneFileBuilder
      • SphereFileBuilder
    • JeremyAnsel.LibNoiseShader.IO.FileModules
      • AbsFileModule
      • AddFileModule
      • BillowFileModule
      • BlendFileModule
      • CacheFileModule
      • CheckerboardFileModule
      • ClampFileModule
      • ConstantFileModule
      • CurveFileModule
      • CylinderFileModule
      • DisplaceFileModule
      • ExponentFileModule
      • FileModuleBase
      • IFileModule
      • InvertFileModule
      • LineFileModule
      • MaxFileModule
      • MinFileModule
      • MultiplyFileModule
      • PerlinFileModule
      • PowerFileModule
      • RidgedMultiFileModule
      • RotatePointFileModule
      • ScaleBiasFileModule
      • ScalePointFileModule
      • SelectorFileModule
      • SphereFileModule
      • TerraceFileModule
      • TranslatePointFileModule
      • TurbulenceFileModule
      • VoronoiFileModule
    • JeremyAnsel.LibNoiseShader.IO.FileRenderers
      • BlendFileRenderer
      • FileRendererBase
      • IFileRenderer
      • ImageFileRenderer
      • NormalFileRenderer
    • JeremyAnsel.LibNoiseShader.IO.Models
      • LibNoiseShaderFileLoadContext
      • LibNoiseShaderFileWriteContext
    • JeremyAnsel.LibNoiseShader.Maps
      • ColorMap
      • MapGenerator
      • ValueMap
    • JeremyAnsel.LibNoiseShader.Models
      • CylinderModel
      • PlaneModel
      • SphereModel
    • JeremyAnsel.LibNoiseShader.Modules
      • AbsModule
      • AddModule
      • BillowModule
      • BlendModule
      • CacheModule
      • CheckerboardModule
      • ClampModule
      • ConstantModule
      • CurveModule
      • CylinderModule
      • DisplaceModule
      • ExponentModule
      • IModule
      • InvertModule
      • LineModule
      • MaxModule
      • MinModule
      • ModuleBase
      • MultiplyModule
      • PerlinModule
      • PowerModule
      • RidgedMultiModule
      • RotatePointModule
      • ScaleBiasModule
      • ScalePointModule
      • SelectorModule
      • SphereModule
      • TerraceModule
      • TranslatePointModule
      • TurbulenceModule
      • VoronoiModule
    • JeremyAnsel.LibNoiseShader.Renderers
      • BlendRenderer
      • IRenderer
      • ImageRenderer
      • NormalRenderer
      • RendererBase

    Struct Float4

    Implements
    IEquatable<Float4>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: JeremyAnsel.LibNoiseShader
    Assembly: JeremyAnsel.LibNoiseShader.dll
    Syntax
    public struct Float4 : IEquatable<Float4>

    Constructors

    | Edit this page View Source

    Float4(float, float, float, float)

    Declaration
    public Float4(float x, float y, float z, float w)
    Parameters
    Type Name Description
    float x
    float y
    float z
    float w

    Fields

    | Edit this page View Source

    W

    Declaration
    public float W
    Field Value
    Type Description
    float
    | Edit this page View Source

    X

    Declaration
    public float X
    Field Value
    Type Description
    float
    | Edit this page View Source

    Y

    Declaration
    public float Y
    Field Value
    Type Description
    float
    | Edit this page View Source

    Z

    Declaration
    public float Z
    Field Value
    Type Description
    float

    Methods

    | Edit this page View Source

    Add(Float4, Float4)

    Declaration
    public static Float4 Add(Float4 left, Float4 right)
    Parameters
    Type Name Description
    Float4 left
    Float4 right
    Returns
    Type Description
    Float4
    | Edit this page View Source

    Dot(Float4, Float4)

    Declaration
    public static float Dot(Float4 x, Float4 y)
    Parameters
    Type Name Description
    Float4 x
    Float4 y
    Returns
    Type Description
    float
    | Edit this page View Source

    Equals(Float4)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(Float4 other)
    Parameters
    Type Name Description
    Float4 other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Edit this page View Source

    Equals(object?)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    Floor(Float4)

    Declaration
    public static Float4 Floor(Float4 x)
    Parameters
    Type Name Description
    Float4 x
    Returns
    Type Description
    Float4
    | Edit this page View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()
    | Edit this page View Source

    Max(Float4, float)

    Declaration
    public static Float4 Max(Float4 x, float y)
    Parameters
    Type Name Description
    Float4 x
    float y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    Min(Float4, float)

    Declaration
    public static Float4 Min(Float4 x, float y)
    Parameters
    Type Name Description
    Float4 x
    float y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    Multiply(Float4, Float4)

    Declaration
    public static Float4 Multiply(Float4 left, Float4 right)
    Parameters
    Type Name Description
    Float4 left
    Float4 right
    Returns
    Type Description
    Float4
    | Edit this page View Source

    Step(Float4, Float4)

    Declaration
    public static Float4 Step(Float4 y, Float4 x)
    Parameters
    Type Name Description
    Float4 y
    Float4 x
    Returns
    Type Description
    Float4
    | Edit this page View Source

    Subtract(Float4, Float4)

    Declaration
    public static Float4 Subtract(Float4 left, Float4 right)
    Parameters
    Type Name Description
    Float4 left
    Float4 right
    Returns
    Type Description
    Float4
    | Edit this page View Source

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Overrides
    ValueType.ToString()

    Operators

    | Edit this page View Source

    operator +(Float4, Float4)

    Declaration
    public static Float4 operator +(Float4 x, Float4 y)
    Parameters
    Type Name Description
    Float4 x
    Float4 y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator +(Float4, float)

    Declaration
    public static Float4 operator +(Float4 x, float y)
    Parameters
    Type Name Description
    Float4 x
    float y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator +(float, Float4)

    Declaration
    public static Float4 operator +(float y, Float4 x)
    Parameters
    Type Name Description
    float y
    Float4 x
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator ==(Float4, Float4)

    Declaration
    public static bool operator ==(Float4 left, Float4 right)
    Parameters
    Type Name Description
    Float4 left
    Float4 right
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Float4, Float4)

    Declaration
    public static bool operator !=(Float4 left, Float4 right)
    Parameters
    Type Name Description
    Float4 left
    Float4 right
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator *(Float4, Float4)

    Declaration
    public static Float4 operator *(Float4 x, Float4 y)
    Parameters
    Type Name Description
    Float4 x
    Float4 y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator *(Float4, float)

    Declaration
    public static Float4 operator *(Float4 x, float y)
    Parameters
    Type Name Description
    Float4 x
    float y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator *(float, Float4)

    Declaration
    public static Float4 operator *(float y, Float4 x)
    Parameters
    Type Name Description
    float y
    Float4 x
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator -(Float4, Float4)

    Declaration
    public static Float4 operator -(Float4 x, Float4 y)
    Parameters
    Type Name Description
    Float4 x
    Float4 y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator -(Float4, float)

    Declaration
    public static Float4 operator -(Float4 x, float y)
    Parameters
    Type Name Description
    Float4 x
    float y
    Returns
    Type Description
    Float4
    | Edit this page View Source

    operator -(float, Float4)

    Declaration
    public static Float4 operator -(float y, Float4 x)
    Parameters
    Type Name Description
    float y
    Float4 x
    Returns
    Type Description
    Float4

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2022 Jérémy Ansel