C# Класс Isosurface.Sampler

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Edges ].int[

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Abs ( this v ) : Vector3
Blend ( float a, float b, float k ) : float
CappedCylinder ( Vector3 p, Vector2 h ) : float
Circle ( Vector2 pos ) : float
Circle ( Vector2 pos, float radius ) : float
Cuboid ( Vector2 pos ) : float
Cuboid ( Vector3 pos ) : float
Cuboid ( Vector3 pos, Vector3 radius ) : float
Cuboid ( Vector3 pos, float radius ) : float
Cylinder ( Vector3 p, Vector3 h ) : float
GetGradient ( Vector2 v ) : Vector2
GetIntersection ( Vector2 p1, Vector2 p2, float d1, float d2, float isolevel ) : Vector2
GetIntersection ( Vector3 p1, Vector3 p2, float d1, float d2 ) : Vector3
GetNormal ( Vector2 v ) : Vector2
GetNormal ( Vector3 v ) : Vector3
GetNormalSquared ( Vector3 v ) : Vector3
Noise ( Vector2 pos ) : float
Noise ( Vector3 pos ) : float
Noise ( Vector3 pos, int octaves ) : float
ReadData ( RawModel m, int res ) : void
ReadData ( string location, int width, int height, int length, float isolevel, float scale = 1.0f, bool flip = true, int bytes = 1 ) : void
Sample ( Vector2 pos ) : float
Sample ( Vector3 pos, int type ) : float
SetAbs ( this v ) : Vector3
Sphere ( Vector3 pos ) : float
Sphere ( Vector3 pos, float radius ) : float
Sphere ( float x, float y, float z ) : float
SphereR ( Vector3 pos ) : float
Square ( Vector2 pos, float radius ) : float
sdHexPrism ( Vector3 p, Vector2 h ) : float
sdTorus88 ( Vector2 pos ) : float
sdTorusX ( Vector3 p, Vector2 t ) : float
sdTorusY ( Vector3 p, Vector2 t ) : float
sdTorusZ ( Vector3 p, Vector2 t ) : float

Описание методов

Abs() публичный статический Метод

public static Abs ( this v ) : Vector3
v this
Результат Vector3

Blend() публичный статический Метод

public static Blend ( float a, float b, float k ) : float
a float
b float
k float
Результат float

CappedCylinder() публичный статический Метод

public static CappedCylinder ( Vector3 p, Vector2 h ) : float
p Vector3
h Vector2
Результат float

Circle() публичный статический Метод

public static Circle ( Vector2 pos ) : float
pos Vector2
Результат float

Circle() публичный статический Метод

public static Circle ( Vector2 pos, float radius ) : float
pos Vector2
radius float
Результат float

Cuboid() публичный статический Метод

public static Cuboid ( Vector2 pos ) : float
pos Vector2
Результат float

Cuboid() публичный статический Метод

public static Cuboid ( Vector3 pos ) : float
pos Vector3
Результат float

Cuboid() публичный статический Метод

public static Cuboid ( Vector3 pos, Vector3 radius ) : float
pos Vector3
radius Vector3
Результат float

Cuboid() публичный статический Метод

public static Cuboid ( Vector3 pos, float radius ) : float
pos Vector3
radius float
Результат float

Cylinder() публичный статический Метод

public static Cylinder ( Vector3 p, Vector3 h ) : float
p Vector3
h Vector3
Результат float

GetGradient() публичный статический Метод

public static GetGradient ( Vector2 v ) : Vector2
v Vector2
Результат Vector2

GetIntersection() публичный статический Метод

public static GetIntersection ( Vector2 p1, Vector2 p2, float d1, float d2, float isolevel ) : Vector2
p1 Vector2
p2 Vector2
d1 float
d2 float
isolevel float
Результат Vector2

GetIntersection() публичный статический Метод

public static GetIntersection ( Vector3 p1, Vector3 p2, float d1, float d2 ) : Vector3
p1 Vector3
p2 Vector3
d1 float
d2 float
Результат Vector3

GetNormal() публичный статический Метод

public static GetNormal ( Vector2 v ) : Vector2
v Vector2
Результат Vector2

GetNormal() публичный статический Метод

public static GetNormal ( Vector3 v ) : Vector3
v Vector3
Результат Vector3

GetNormalSquared() публичный статический Метод

public static GetNormalSquared ( Vector3 v ) : Vector3
v Vector3
Результат Vector3

Noise() публичный статический Метод

public static Noise ( Vector2 pos ) : float
pos Vector2
Результат float

Noise() публичный статический Метод

public static Noise ( Vector3 pos ) : float
pos Vector3
Результат float

Noise() публичный статический Метод

public static Noise ( Vector3 pos, int octaves ) : float
pos Vector3
octaves int
Результат float

ReadData() публичный статический Метод

public static ReadData ( RawModel m, int res ) : void
m RawModel
res int
Результат void

ReadData() публичный статический Метод

public static ReadData ( string location, int width, int height, int length, float isolevel, float scale = 1.0f, bool flip = true, int bytes = 1 ) : void
location string
width int
height int
length int
isolevel float
scale float
flip bool
bytes int
Результат void

Sample() публичный статический Метод

public static Sample ( Vector2 pos ) : float
pos Vector2
Результат float

Sample() публичный статический Метод

public static Sample ( Vector3 pos, int type ) : float
pos Vector3
type int
Результат float

SetAbs() публичный статический Метод

public static SetAbs ( this v ) : Vector3
v this
Результат Vector3

Sphere() публичный статический Метод

public static Sphere ( Vector3 pos ) : float
pos Vector3
Результат float

Sphere() публичный статический Метод

public static Sphere ( Vector3 pos, float radius ) : float
pos Vector3
radius float
Результат float

Sphere() публичный статический Метод

public static Sphere ( float x, float y, float z ) : float
x float
y float
z float
Результат float

SphereR() публичный статический Метод

public static SphereR ( Vector3 pos ) : float
pos Vector3
Результат float

Square() публичный статический Метод

public static Square ( Vector2 pos, float radius ) : float
pos Vector2
radius float
Результат float

sdHexPrism() публичный статический Метод

public static sdHexPrism ( Vector3 p, Vector2 h ) : float
p Vector3
h Vector2
Результат float

sdTorus88() публичный статический Метод

public static sdTorus88 ( Vector2 pos ) : float
pos Vector2
Результат float

sdTorusX() публичный статический Метод

public static sdTorusX ( Vector3 p, Vector2 t ) : float
p Vector3
t Vector2
Результат float

sdTorusY() публичный статический Метод

public static sdTorusY ( Vector3 p, Vector2 t ) : float
p Vector3
t Vector2
Результат float

sdTorusZ() публичный статический Метод

public static sdTorusZ ( Vector3 p, Vector2 t ) : float
p Vector3
t Vector2
Результат float

Описание свойств

Edges публичное статическое свойство

public static int[,] Edges
Результат ].int[