Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dimitri-br/runity
/ functions
Functions
123 in github.com/dimitri-br/runity
⨍
Functions
123
◇
Types & classes
22
↓ 15 callers
Method
Log
(String message)
cs_examples/runity.cs:424
↓ 12 callers
Method
cos
# Cos Returns the cosine of angle `f`.
src/math.rs:180
↓ 12 callers
Method
sin
# Sine Returns the sine of `f`
src/math.rs:387
↓ 6 callers
Method
free
Free the string. *very* important to call this!
src/string.rs:22
↓ 4 callers
Method
LogWarning
(String message)
cs_examples/runity.cs:430
↓ 3 callers
Method
LoadFunctionFromDLL
<summary> This function will load a function from a library. It takes in the DLL name (so it can find the DLL from the pool), the function name and th
cs_examples/DLLPool.cs:138
↓ 3 callers
Method
log
# Log Returns the log of `f` to the base of `p`.
src/math.rs:279
↓ 2 callers
Method
LogError
(String message)
cs_examples/runity.cs:436
↓ 2 callers
Method
sub
(self, rhs: Self::Output)
src/vector3.rs:447
↓ 1 callers
Method
FreeLibrary
(IntPtr hModule)
cs_examples/DLLPool.cs:28
↓ 1 callers
Method
GetProcAddress
(IntPtr hModule, string procedureName)
cs_examples/DLLPool.cs:25
↓ 1 callers
Method
LoadDLL
<summary> This function takes the name of the DLL to load These DLL's are expected to be stored in the `Assets/Plugins/` folder </summary> <param nam
cs_examples/DLLPool.cs:89
↓ 1 callers
Method
LoadLibrary
(string dllToLoad)
cs_examples/DLLPool.cs:22
↓ 1 callers
Method
UnloadDLL
<summary> Unload all will unload a given DLL Should be run on exit or on destruction. </summary>
cs_examples/DLLPool.cs:176
↓ 1 callers
Method
ceil
# Ceil Returns the smallest integer greater to or equal to `f`.
src/math.rs:102
↓ 1 callers
Function
destroy
(data: DataStruct)
examples/example/lib.rs:43
↓ 1 callers
Method
get_gameobject_from_tag
# Get GameObject from tag Takes a string, returns the gameobject attached to the associated tag. The returned gameobject is a read-only gameobject,
src/gameobject.rs:32
↓ 1 callers
Method
sqrt
# Sqrt Returns square root of `f`.
src/math.rs:450
↓ 1 callers
Function
start
(mut data: DataStruct)
examples/example/lib.rs:11
↓ 1 callers
Function
update
(mut data: DataStruct)
examples/example/lib.rs:18
Method
Awake
()
cs_examples/DLLPool.cs:39
Method
Awake
()
cs_examples/runity.cs:173
Method
GetDLL
<summary> This function loads a DLL from the stored dictionary. This helps you save time by loading DLL's loaded already, rather than load them again
cs_examples/DLLPool.cs:60
Method
GetGameObjectFromTag
(String tag, IntPtr gameObjectPtr)
cs_examples/runity.cs:353
Method
NativeToString
<summary> This method converts a given pointer into a string. It uses an ArrayPool to allocate a buffer and then copies the string into it. </summary
cs_examples/runity.cs:335
Method
OnDestroy
This function releases all our pointers to remain safe
cs_examples/runity.cs:294
Method
SetTime
<summary> Update time - should be run *before* submitting data to rust </summary>
cs_examples/runity.cs:304
Method
Start
Start is called before the first frame update
cs_examples/runity.cs:227
Method
Update
Update is called once per frame
cs_examples/runity.cs:265
Method
abs
# Abs Returns the absolute value of `f`
src/math.rs:55
Method
acos
# Acos Returns the arc-cosine of `f` - the angle in radians whose cosine is `f`.
src/math.rs:62
Method
add
(self, rhs: Self::Output)
src/vector3.rs:427
Method
add_assign
(&mut self, rhs: Self)
src/vector3.rs:437
Method
angle
# Angle Returns the angle in degrees between `from` and `to`.
src/vector3.rs:303
Method
approximately
Compares two floating point values if they are similar.
src/math.rs:67
Method
asin
# Asin Returns the arc-sine of `f` - the angle in radians whose sine is `f`.
src/math.rs:81
Method
atan
# Atan Returns the arc-tangent of `f` - the angle in radians whose tangent is `f`.
src/math.rs:88
Method
atan2
# Atan2 Returns the angle in radians whose Tan is `y/x`.
src/math.rs:95
Function
awake
(mut _data: DataStruct)
examples/example/lib.rs:5
Method
back
()
src/vector3.rs:394
Method
ceil_to_int
# Ceil Returns the smallest integer greater to or equal to `f`.
src/math.rs:109
Method
clamp
# Clamp Clamp `val` between `min` and `max`
src/math.rs:116
Method
clamp01
# Clamp01 Clamp `val` between 0 and 1
src/math.rs:130
Method
clamp_magnitude
# Clamp Magnitude Returns a copy of `vector` with its magnitude clamped to `max_length`.
src/vector3.rs:346
Method
closest_power_of_two
# ClosestPowerOfTwo Returns the closest power of two value `f`.
src/math.rs:144
Method
correlated_color_temperature_to_rgb
# Correlated Color Temperature to RGB Convert a color temperature in Kelvin to RGB color. Given a correlated color temperature (in Kelvin), estimate
src/math.rs:157
Method
cross
# Cross Cross Product of two vectors.
src/vector3.rs:205
Method
default
()
src/time.rs:29
Method
deg_to_rad
# Deg To Rad Converts `f` degrees into radians.
src/math.rs:38
Method
delta_angle
# Delta Angle Calculates the shortest difference between two given angles.
src/math.rs:187
Method
distance
# Distance Returns the distance between `a` and `b`.
src/vector3.rs:335
Method
div
# IMPORTANT Any attempted division by 0 will simply return 0, rather than attempting the division and panicking.
src/vector3.rs:489
Method
div_assign
# IMPORTANT Any attempted division by 0 will simply return 0, rather than attempting the division and panicking.
src/vector3.rs:505
Method
dot
# Dot Dot product of two vectors
src/vector3.rs:53
Method
down
()
src/vector3.rs:406
Method
drop
Drop the string
src/string.rs:34
Method
exp
# Exp Returns `e` raised to `f`
src/math.rs:200
Method
float_to_half
# Float to half Return float `f` as a half. (Currently not working)
src/math.rs:208
Method
floor
# Floor Returns the largest integer smaller than or equal to `f`. Note: This should be used in place of FloorToInt.
src/math.rs:217
Method
forward
()
src/vector3.rs:397
Method
from
Convert a gameobject to a gameobject changes
src/gameobject.rs:66
Method
from
Create a new `String` from a `CString`
src/string.rs:49
Method
from_euler
# From Euler Creates a new Quaternion from Euler angles (expects degrees).
src/quaternion.rs:53
Method
gamma_to_linear_space
# Gamma to Linear Space Converts the given value from gamma (sRGB) to linear color space.
src/math.rs:224
Method
inverse_lerp
# Inverse Lerp Calculates the linear parameter t that produces the interpolant value within the range `[a, b]`.
src/math.rs:231
Method
is_power_of_two
(f: T)
src/math.rs:235
Method
left
()
src/vector3.rs:400
Method
lerp
# Lerp Linearly interpolate between start `Vector3` and end `Vector3` across `t`, where `t` is clamped between 0 and 1.
src/vector3.rs:60
Method
lerp
# Lerp Linerarly interpolate between `start` and `end` across `t`
src/math.rs:242
Method
lerp_angle
# Lerp Angle Same as lerp, but makes sure `f` values iterpolate correctly when they wrap around 360 degrees
src/math.rs:251
Method
lerp_unclamped
# Lerp Unclamped Linearly interpolate between start `Vector3` and end `Vector3` across `t`, where `t` is unclamped.
src/vector3.rs:72
Method
lerp_unclamped
# Lerp Unclamped Linerarly interpolate between `start` and `end` across `t`, with no limit to `t`
src/math.rs:263
Method
linear_to_gamma_space
# Linear to Gamma Space Converts the given value from gamma (sRGB) to linear color space.
src/math.rs:272
Method
log
# Log Logs a string to the console in unity.
src/debug.rs:35
Method
log10
# Log 10 Returns the log of `f` to the base 10.
src/math.rs:286
Method
log_error
# Log Error Logs a string to the console in unity as an error.
src/debug.rs:53
Method
log_warning
# Log Warning Logs a string to the console in unity as a warning.
src/debug.rs:44
Method
magnitude
# Magnitude Return the length of this vector
src/vector3.rs:252
Method
max
# Max Returns a vector made of the largest components of two vectors.
src/vector3.rs:383
Method
max
# Max Returns largest of two values. TODO: make it two or more values
src/math.rs:295
Method
min
# Min Returns a vector made of the smallest components of two vectors.
src/vector3.rs:372
Method
min
# Min Returns smallest of two values. TODO: make it two or more values
src/math.rs:304
Method
move_towards
# Move Towards Moves a point `current` in a straight line towards a `target` point.
src/vector3.rs:83
Method
move_towards
# Move Towards Moves a value `current` towards `target`.
src/math.rs:311
Method
move_towards_angle
# Move Towards Angle Same as `MoveTowards` but makes sure the values interpolate correctly when they wrap around 360 degrees.
src/math.rs:321
Method
mul
(self, rhs: Self)
src/quaternion.rs:110
Method
mul
(self, rhs: Self::Output)
src/vector3.rs:467
Method
mul_assign
(&mut self, rhs: Self)
src/quaternion.rs:126
Method
mul_assign
(&mut self, rhs: Self)
src/vector3.rs:477
Method
new
# New Creates a new `Transform` struct from a position (`Vector3`)
src/transform.rs:19
Method
new
# New Creates a new quaternion from `x`, `y`, `z`, and `w`
src/quaternion.rs:41
Method
new
# New Creates a new `Vector3` from an `x`, `y` and `z`
src/vector3.rs:39
Method
next_power_of_two
# Next Power of Two Returns the next power of two that is equal to, or greater than, the argument.
src/math.rs:333
Method
normalize
# Normalize Vector `value` will have a magnitude of 1
src/vector3.rs:235
Method
one
()
src/vector3.rs:413
Method
perlin_noise
# Perlin Noise Generate 2D Perlin noise. NOTE: This is currently not working
src/math.rs:342
Method
ping_pong
# Ping Pong PingPong returns a value that will increment and decrement between the value 0 and length.
src/math.rs:349
Method
pow
# Pow Returns of `f` to the power of `n`
src/math.rs:359
Method
project
# Project Projects one vector onto another vector.
src/vector3.rs:266
Method
project_on_plane
# Project On Plane Projects a vector onto a plane defined by a normal orthogonal to the plane.
src/vector3.rs:284
next →
1–100 of 123, ranked by callers