This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine.Bits8 Struct

Notice
The functions listed below are the members of the Unigine.MathLib namespace.

Bits8 Class

Members


void Clear ( ) #

Clears the value by setting all components/elements to 0.

bool Contains ( Bits8 v ) #

Arguments

  • Bits8 v

Return value

Return value.

bool Contains ( SByte v ) #

Arguments

  • SByte v

Return value

Return value.

bool Contains ( Byte v ) #

Arguments

  • Byte v

Return value

Return value.

Bits8 operator~ ( Bits8 v ) #

Bitwise negation. Produces a bitwise complement of its operand by reversing each bit.

Arguments

  • Bits8 v - Value.

Bits8 operator<< ( Bits8 v0, int v1 ) #

Bitwise left shift.

Arguments

  • Bits8 v0 - First value.
  • int v1 - Second value.

Bits8 operator>> ( Bits8 v0, int v1 ) #

Bitwise right shift.

Arguments

  • Bits8 v0 - First value.
  • int v1 - Second value.

Bits8 operator& ( Bits8 v0, Bits8 v1 ) #

Componentwise logical AND operation (conjunction).

Arguments

  • Bits8 v0 - First value.
  • Bits8 v1 - Second value.

Bits8 operator& ( Bits8 v0, Byte v1 ) #

Componentwise logical AND operation (conjunction).

Arguments

  • Bits8 v0 - First value.
  • Byte v1 - Second value.

Bits8 operator& ( Bits8 v0, SByte v1 ) #

Componentwise logical AND operation (conjunction).

Arguments

  • Bits8 v0 - First value.
  • SByte v1 - Second value.

Byte operator& ( Byte v0, Bits8 v1 ) #

Componentwise logical AND operation (conjunction).

Arguments

  • Byte v0 - First value.
  • Bits8 v1 - Second value.

SByte operator& ( SByte v0, Bits8 v1 ) #

Componentwise logical AND operation (conjunction).

Arguments

  • SByte v0 - First value.
  • Bits8 v1 - Second value.

Bits8 operator| ( Bits8 v0, Bits8 v1 ) #

Componentwise logical OR operation (disjunction).

Arguments

  • Bits8 v0 - First value.
  • Bits8 v1 - Second value.

Bits8 operator| ( Bits8 v0, uint v1 ) #

Componentwise logical OR operation (disjunction).

Arguments

  • Bits8 v0 - First value.
  • uint v1 - Second value.

Bits8 operator| ( Bits8 v0, SByte v1 ) #

Componentwise logical OR operation (disjunction).

Arguments

  • Bits8 v0 - First value.
  • SByte v1 - Second value.

Byte operator| ( uint v0, Bits8 v1 ) #

Componentwise logical OR operation (disjunction).

Arguments

  • uint v0 - First value.
  • Bits8 v1 - Second value.

SByte operator| ( SByte v0, Bits8 v1 ) #

Componentwise logical OR operation (disjunction).

Arguments

  • SByte v0 - First value.
  • Bits8 v1 - Second value.

bool operator== ( Bits8 v0, Bits8 v1 ) #

Performs equal comparison.

Arguments

  • Bits8 v0 - First value.
  • Bits8 v1 - Second value.

bool operator== ( SByte v0, Bits8 v1 ) #

Performs equal comparison.

Arguments

  • SByte v0 - First value.
  • Bits8 v1 - Second value.

bool operator== ( Byte v0, Bits8 v1 ) #

Performs equal comparison.

Arguments

  • Byte v0 - First value.
  • Bits8 v1 - Second value.

bool operator== ( Bits8 v0, SByte v1 ) #

Performs equal comparison.

Arguments

  • Bits8 v0 - First value.
  • SByte v1 - Second value.

bool operator== ( Bits8 v0, Byte v1 ) #

Performs equal comparison.

Arguments

  • Bits8 v0 - First value.
  • Byte v1 - Second value.

bool operator!= ( Bits8 v0, Bits8 v1 ) #

Not equal comparison.

Arguments

  • Bits8 v0 - First value.
  • Bits8 v1 - Second value.

bool operator!= ( SByte v0, Bits8 v1 ) #

Not equal comparison.

Arguments

  • SByte v0 - First value.
  • Bits8 v1 - Second value.

bool operator!= ( Byte v0, Bits8 v1 ) #

Not equal comparison.

Arguments

  • Byte v0 - First value.
  • Bits8 v1 - Second value.

bool operator!= ( Bits8 v0, SByte v1 ) #

Not equal comparison.

Arguments

  • Bits8 v0 - First value.
  • SByte v1 - Second value.

bool operator!= ( Bits8 v0, Byte v1 ) #

Not equal comparison.

Arguments

  • Bits8 v0 - First value.
  • Byte v1 - Second value.

bool operatortrue ( Bits8 v ) #

Returns true if the operand is both, not null and not NaN.

Arguments

  • Bits8 v - Value.

bool operatorfalse ( Bits8 v ) #

Returns true if the operand is both, null and NaN.

Arguments

  • Bits8 v - Value.

IEnumerator<bool> GetEnumerator ( ) #

Returns an IEnumerator for the object.

Return value

Return value.

IEnumerator GetEnumerator ( ) #

Returns an IEnumerator for the object.

Return value

Return value.

bool Equals ( Bits8 other ) #

Checks if the vector and the specified argument are equal (epsilon).

Arguments

  • Bits8 other - Value to be checked for equality.

Return value

Return value.

bool Equals ( object obj ) #

Checks if the vector and the specified argument are equal (epsilon).

Arguments

Return value

Return value.

Int32 GetHashCode ( ) #

Returns a hash code for the current object. Serves as the default hash function.

Return value

Return value.

string ToString ( ) #

Converts the current value to a string value.

Return value

Resulting string value.

string ToString ( IFormatProvider provider ) #

Converts the current value to a string value.

Arguments

  • IFormatProvider provider

Return value

Resulting string value.

string ToString ( string format ) #

Converts the current value to a string value.

Arguments

  • string format - String formatting to be used. A format string is composed of zero or more ordinary characters (excluding %) that are copied directly to the result string and control sequences, each of which results in fetching its own parameter. Each control sequence consists of a percent sign (%) followed by one or more of these elements, in order:
    • An optional number, a width specifier, that says how many characters (minimum) this conversion should result in.
    • An optional precision specifier that says how many decimal digits should be displayed for floating-point numbers.
    • A type specifier that says what type the argument data should be treated as. Possible types:
      • c: the argument is treated as an integer and presented as a character with that ASCII value.
      • d or i: the argument is treated as an integer and presented as a (signed) decimal number.
      • o: the argument is treated as an integer and presented as an octal number.
      • u: the argument is treated as an integer and presented as an unsigned decimal number.
      • x: the argument is treated as an integer and presented as a hexadecimal number (with lower-case letters).
      • X: the argument is treated as an integer and presented as a hexadecimal number (with upper-case letters).
      • f: the argument is treated as a float and presented as a floating-point number.
      • g: the same as e or f, the shortest one is selected.
      • G: the same as E or F, the shortest one is selected.
      • e: the argument is treated as using the scientific notation with lower-case 'e' (e.g. 1.2e+2).
      • E: the argument is treated as using the scientific notation with upper-case 'E' (e.g. 1.2E+2).
      • s: the argument is treated as and presented as a string.
      • p: the argument is treated as and presented as a pointer address.
      • %: a literal percent character. No argument is required.

Return value

Resulting string value.

string ToString ( string format, IFormatProvider provider ) #

Converts the current value to a string value.

Arguments

  • string format - String formatting to be used. A format string is composed of zero or more ordinary characters (excluding %) that are copied directly to the result string and control sequences, each of which results in fetching its own parameter. Each control sequence consists of a percent sign (%) followed by one or more of these elements, in order:
    • An optional number, a width specifier, that says how many characters (minimum) this conversion should result in.
    • An optional precision specifier that says how many decimal digits should be displayed for floating-point numbers.
    • A type specifier that says what type the argument data should be treated as. Possible types:
      • c: the argument is treated as an integer and presented as a character with that ASCII value.
      • d or i: the argument is treated as an integer and presented as a (signed) decimal number.
      • o: the argument is treated as an integer and presented as an octal number.
      • u: the argument is treated as an integer and presented as an unsigned decimal number.
      • x: the argument is treated as an integer and presented as a hexadecimal number (with lower-case letters).
      • X: the argument is treated as an integer and presented as a hexadecimal number (with upper-case letters).
      • f: the argument is treated as a float and presented as a floating-point number.
      • g: the same as e or f, the shortest one is selected.
      • G: the same as E or F, the shortest one is selected.
      • e: the argument is treated as using the scientific notation with lower-case 'e' (e.g. 1.2e+2).
      • E: the argument is treated as using the scientific notation with upper-case 'E' (e.g. 1.2E+2).
      • s: the argument is treated as and presented as a string.
      • p: the argument is treated as and presented as a pointer address.
      • %: a literal percent character. No argument is required.
  • IFormatProvider provider

Return value

Resulting string value.
Last update: 2024-10-30
Build: ()