MCPcopy Create free account

hub / github.com/dimitri-br/runity / functions

Functions123 in github.com/dimitri-br/runity

↓ 15 callersMethodLog
(String message)
cs_examples/runity.cs:424
↓ 12 callersMethodcos
# Cos Returns the cosine of angle `f`.
src/math.rs:180
↓ 12 callersMethodsin
# Sine Returns the sine of `f`
src/math.rs:387
↓ 6 callersMethodfree
Free the string. *very* important to call this!
src/string.rs:22
↓ 4 callersMethodLogWarning
(String message)
cs_examples/runity.cs:430
↓ 3 callersMethodLoadFunctionFromDLL
<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 callersMethodlog
# Log Returns the log of `f` to the base of `p`.
src/math.rs:279
↓ 2 callersMethodLogError
(String message)
cs_examples/runity.cs:436
↓ 2 callersMethodsub
(self, rhs: Self::Output)
src/vector3.rs:447
↓ 1 callersMethodFreeLibrary
(IntPtr hModule)
cs_examples/DLLPool.cs:28
↓ 1 callersMethodGetProcAddress
(IntPtr hModule, string procedureName)
cs_examples/DLLPool.cs:25
↓ 1 callersMethodLoadDLL
<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 callersMethodLoadLibrary
(string dllToLoad)
cs_examples/DLLPool.cs:22
↓ 1 callersMethodUnloadDLL
<summary> Unload all will unload a given DLL Should be run on exit or on destruction. </summary>
cs_examples/DLLPool.cs:176
↓ 1 callersMethodceil
# Ceil Returns the smallest integer greater to or equal to `f`.
src/math.rs:102
↓ 1 callersFunctiondestroy
(data: DataStruct)
examples/example/lib.rs:43
↓ 1 callersMethodget_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 callersMethodsqrt
# Sqrt Returns square root of `f`.
src/math.rs:450
↓ 1 callersFunctionstart
(mut data: DataStruct)
examples/example/lib.rs:11
↓ 1 callersFunctionupdate
(mut data: DataStruct)
examples/example/lib.rs:18
MethodAwake
()
cs_examples/DLLPool.cs:39
MethodAwake
()
cs_examples/runity.cs:173
MethodGetDLL
<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
MethodGetGameObjectFromTag
(String tag, IntPtr gameObjectPtr)
cs_examples/runity.cs:353
MethodNativeToString
<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
MethodOnDestroy
This function releases all our pointers to remain safe
cs_examples/runity.cs:294
MethodSetTime
<summary> Update time - should be run *before* submitting data to rust </summary>
cs_examples/runity.cs:304
MethodStart
Start is called before the first frame update
cs_examples/runity.cs:227
MethodUpdate
Update is called once per frame
cs_examples/runity.cs:265
Methodabs
# Abs Returns the absolute value of `f`
src/math.rs:55
Methodacos
# Acos Returns the arc-cosine of `f` - the angle in radians whose cosine is `f`.
src/math.rs:62
Methodadd
(self, rhs: Self::Output)
src/vector3.rs:427
Methodadd_assign
(&mut self, rhs: Self)
src/vector3.rs:437
Methodangle
# Angle Returns the angle in degrees between `from` and `to`.
src/vector3.rs:303
Methodapproximately
Compares two floating point values if they are similar.
src/math.rs:67
Methodasin
# Asin Returns the arc-sine of `f` - the angle in radians whose sine is `f`.
src/math.rs:81
Methodatan
# Atan Returns the arc-tangent of `f` - the angle in radians whose tangent is `f`.
src/math.rs:88
Methodatan2
# Atan2 Returns the angle in radians whose Tan is `y/x`.
src/math.rs:95
Functionawake
(mut _data: DataStruct)
examples/example/lib.rs:5
Methodback
()
src/vector3.rs:394
Methodceil_to_int
# Ceil Returns the smallest integer greater to or equal to `f`.
src/math.rs:109
Methodclamp
# Clamp Clamp `val` between `min` and `max`
src/math.rs:116
Methodclamp01
# Clamp01 Clamp `val` between 0 and 1
src/math.rs:130
Methodclamp_magnitude
# Clamp Magnitude Returns a copy of `vector` with its magnitude clamped to `max_length`.
src/vector3.rs:346
Methodclosest_power_of_two
# ClosestPowerOfTwo Returns the closest power of two value `f`.
src/math.rs:144
Methodcorrelated_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
Methodcross
# Cross Cross Product of two vectors.
src/vector3.rs:205
Methoddefault
()
src/time.rs:29
Methoddeg_to_rad
# Deg To Rad Converts `f` degrees into radians.
src/math.rs:38
Methoddelta_angle
# Delta Angle Calculates the shortest difference between two given angles.
src/math.rs:187
Methoddistance
# Distance Returns the distance between `a` and `b`.
src/vector3.rs:335
Methoddiv
# IMPORTANT Any attempted division by 0 will simply return 0, rather than attempting the division and panicking.
src/vector3.rs:489
Methoddiv_assign
# IMPORTANT Any attempted division by 0 will simply return 0, rather than attempting the division and panicking.
src/vector3.rs:505
Methoddot
# Dot Dot product of two vectors
src/vector3.rs:53
Methoddown
()
src/vector3.rs:406
Methoddrop
Drop the string
src/string.rs:34
Methodexp
# Exp Returns `e` raised to `f`
src/math.rs:200
Methodfloat_to_half
# Float to half Return float `f` as a half. (Currently not working)
src/math.rs:208
Methodfloor
# Floor Returns the largest integer smaller than or equal to `f`. Note: This should be used in place of FloorToInt.
src/math.rs:217
Methodforward
()
src/vector3.rs:397
Methodfrom
Convert a gameobject to a gameobject changes
src/gameobject.rs:66
Methodfrom
Create a new `String` from a `CString`
src/string.rs:49
Methodfrom_euler
# From Euler Creates a new Quaternion from Euler angles (expects degrees).
src/quaternion.rs:53
Methodgamma_to_linear_space
# Gamma to Linear Space Converts the given value from gamma (sRGB) to linear color space.
src/math.rs:224
Methodinverse_lerp
# Inverse Lerp Calculates the linear parameter t that produces the interpolant value within the range `[a, b]`.
src/math.rs:231
Methodis_power_of_two
(f: T)
src/math.rs:235
Methodleft
()
src/vector3.rs:400
Methodlerp
# Lerp Linearly interpolate between start `Vector3` and end `Vector3` across `t`, where `t` is clamped between 0 and 1.
src/vector3.rs:60
Methodlerp
# Lerp Linerarly interpolate between `start` and `end` across `t`
src/math.rs:242
Methodlerp_angle
# Lerp Angle Same as lerp, but makes sure `f` values iterpolate correctly when they wrap around 360 degrees
src/math.rs:251
Methodlerp_unclamped
# Lerp Unclamped Linearly interpolate between start `Vector3` and end `Vector3` across `t`, where `t` is unclamped.
src/vector3.rs:72
Methodlerp_unclamped
# Lerp Unclamped Linerarly interpolate between `start` and `end` across `t`, with no limit to `t`
src/math.rs:263
Methodlinear_to_gamma_space
# Linear to Gamma Space Converts the given value from gamma (sRGB) to linear color space.
src/math.rs:272
Methodlog
# Log Logs a string to the console in unity.
src/debug.rs:35
Methodlog10
# Log 10 Returns the log of `f` to the base 10.
src/math.rs:286
Methodlog_error
# Log Error Logs a string to the console in unity as an error.
src/debug.rs:53
Methodlog_warning
# Log Warning Logs a string to the console in unity as a warning.
src/debug.rs:44
Methodmagnitude
# Magnitude Return the length of this vector
src/vector3.rs:252
Methodmax
# Max Returns a vector made of the largest components of two vectors.
src/vector3.rs:383
Methodmax
# Max Returns largest of two values. TODO: make it two or more values
src/math.rs:295
Methodmin
# Min Returns a vector made of the smallest components of two vectors.
src/vector3.rs:372
Methodmin
# Min Returns smallest of two values. TODO: make it two or more values
src/math.rs:304
Methodmove_towards
# Move Towards Moves a point `current` in a straight line towards a `target` point.
src/vector3.rs:83
Methodmove_towards
# Move Towards Moves a value `current` towards `target`.
src/math.rs:311
Methodmove_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
Methodmul
(self, rhs: Self)
src/quaternion.rs:110
Methodmul
(self, rhs: Self::Output)
src/vector3.rs:467
Methodmul_assign
(&mut self, rhs: Self)
src/quaternion.rs:126
Methodmul_assign
(&mut self, rhs: Self)
src/vector3.rs:477
Methodnew
# New Creates a new `Transform` struct from a position (`Vector3`)
src/transform.rs:19
Methodnew
# New Creates a new quaternion from `x`, `y`, `z`, and `w`
src/quaternion.rs:41
Methodnew
# New Creates a new `Vector3` from an `x`, `y` and `z`
src/vector3.rs:39
Methodnext_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
Methodnormalize
# Normalize Vector `value` will have a magnitude of 1
src/vector3.rs:235
Methodone
()
src/vector3.rs:413
Methodperlin_noise
# Perlin Noise Generate 2D Perlin noise. NOTE: This is currently not working
src/math.rs:342
Methodping_pong
# Ping Pong PingPong returns a value that will increment and decrement between the value 0 and length.
src/math.rs:349
Methodpow
# Pow Returns of `f` to the power of `n`
src/math.rs:359
Methodproject
# Project Projects one vector onto another vector.
src/vector3.rs:266
Methodproject_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