diff --git a/doc/doc_files/abs.html b/doc/doc_files/abs.html new file mode 100644 index 0000000..f0f1be4 --- /dev/null +++ b/doc/doc_files/abs.html @@ -0,0 +1,85 @@ + + + + + + Abs [RCBasic Doc] + + + +

function Abs(n)

+

+ Returns the absolute value of n +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/accelname.html b/doc/doc_files/accelname.html new file mode 100644 index 0000000..654000b --- /dev/null +++ b/doc/doc_files/accelname.html @@ -0,0 +1,85 @@ + + + + + + AccelName$ [RCBasic Doc] + + + +

function AccelName$(accel_num)

+

+ Returns the name of an accelerometer +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/acos.html b/doc/doc_files/acos.html new file mode 100644 index 0000000..b809913 --- /dev/null +++ b/doc/doc_files/acos.html @@ -0,0 +1,85 @@ + + + + + + Acos [RCBasic Doc] + + + +

function Acos(n)

+

+ Returns the Arcosine of n +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/activecanvas.html b/doc/doc_files/activecanvas.html new file mode 100644 index 0000000..0d7a7f1 --- /dev/null +++ b/doc/doc_files/activecanvas.html @@ -0,0 +1,101 @@ + + + + + + ActiveCanvas [RCBasic Doc] + + + +

function ActiveCanvas()

+

+ Returns the canvas that drawing commands are currently applied to +

+

+ 1 = OpenCanvas(640480006404800) 
+ 2 = OpenCanvas(640480006404800) 
+   
+ Canvas(1) 
+   
+ If ActiveCanvas() = 1 Then 
+    Print "Active canvas is c1" 
+ End If 
+   
+ Canvas(2) 
+   
+ If ActiveCanvas() = 2 Then 
+    Print "Active canvas is now c2" 
+ End If 
+

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/actoranimationislooped.html b/doc/doc_files/actoranimationislooped.html new file mode 100644 index 0000000..685698a --- /dev/null +++ b/doc/doc_files/actoranimationislooped.html @@ -0,0 +1,91 @@ + + + + + + actorAnimationIsLooped [RCBasic Doc] + + + +

function actorAnimationIsLooped( actor )

+

+ Returns true if an actors animation is set to looped. +

+

+ Note: Actor animation is set to looped with the loopActorAnimation() function. +

+

Related: + loopActorAnimation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/actoranimationisplaying.html b/doc/doc_files/actoranimationisplaying.html new file mode 100644 index 0000000..b721962 --- /dev/null +++ b/doc/doc_files/actoranimationisplaying.html @@ -0,0 +1,88 @@ + + + + + + ActorAnimationIsPlaying [RCBasic Doc] + + + +

function ActorAnimationIsPlaying(actor)

+

+ Returns true if an actor is currently playing an animation +

+

+ Note: If the number of loops in the animation is set to -1 then this will always be true since it does not return false until it plays the last frame in the last loop +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/actorexists.html b/doc/doc_files/actorexists.html new file mode 100644 index 0000000..9865844 --- /dev/null +++ b/doc/doc_files/actorexists.html @@ -0,0 +1,82 @@ + + + + + + ActorExists [RCBasic Doc] + + + +

function ActorExists( actor )

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/actorisintransition.html b/doc/doc_files/actorisintransition.html new file mode 100644 index 0000000..ebead32 --- /dev/null +++ b/doc/doc_files/actorisintransition.html @@ -0,0 +1,90 @@ + + + + + + ActorIsInTransition [RCBasic Doc] + + + +

function ActorIsInTransition( actor )

+

+ Returns true if actor is in a transition from its current frame to the frame set in the StartActorTransition() function +

+

Related: + StartActorTransition + StopActorTransition + GetActorTransitionTime +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/actorissolid.html b/doc/doc_files/actorissolid.html new file mode 100644 index 0000000..3cbf088 --- /dev/null +++ b/doc/doc_files/actorissolid.html @@ -0,0 +1,96 @@ + + + + + + ActorIsSolid [RCBasic Doc] + + + +

function ActorIsSolid(actor)

+

+ Returns true or false depending on if physics and collision response applies to an actor. +

+

+ Note: Collision is still able to be checked on an actor but the actor will be like a ghost able to go through wall and other objects. +

+

+ SetActorSolid(actor, true) 
+ Print "Actor solid state: "; ActorIsSolid(actor) 'This will output 1
+ SetActorSolid(actor, false) 
+ Print "Actor solid state: "; ActorIsSolid(actor) 'This will output 0
+ #/end 
+   
+ #ref SetActorSolid 
+   
+ + + \ No newline at end of file diff --git a/doc/doc_files/actorisvisible.html b/doc/doc_files/actorisvisible.html new file mode 100644 index 0000000..652ed03 --- /dev/null +++ b/doc/doc_files/actorisvisible.html @@ -0,0 +1,94 @@ + + + + + + ActorIsVisible [RCBasic Doc] + + + +

function ActorIsVisible( actor )

+

+ Returns true if an actor is visible +

+

+ SetActorVisible(actor, true) 
+ Print "Actor solid state: "; ActorIsVisible(actor) 'Outputs 1
+ SetActorSolid(actor, false) 
+ Print "Actor solid state: "; ActorIsSolid(actor) 'Outputs 0
+

+

Related: + SetActorVisible +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/addactorshadow.html b/doc/doc_files/addactorshadow.html new file mode 100644 index 0000000..04ef105 --- /dev/null +++ b/doc/doc_files/addactorshadow.html @@ -0,0 +1,91 @@ + + + + + + AddActorShadow [RCBasic Doc] + + + +

sub AddActorShadow( actor )

+

+ Cast a shadow on an actor during lighting calculations +

+

+ Note: Also check the section on lights for more info +

+

Related: + RemoveActorShadow +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/addmatrix.html b/doc/doc_files/addmatrix.html new file mode 100644 index 0000000..8257d82 --- /dev/null +++ b/doc/doc_files/addmatrix.html @@ -0,0 +1,85 @@ + + + + + + AddMatrix [RCBasic Doc] + + + +

function AddMatrix(mA, mB, mC)

+

+ Adds matrix mA to matrix mB and stores the results in mC +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/addmeshbuffer.html b/doc/doc_files/addmeshbuffer.html new file mode 100644 index 0000000..57ea744 --- /dev/null +++ b/doc/doc_files/addmeshbuffer.html @@ -0,0 +1,88 @@ + + + + + + AddMeshBuffer [RCBasic Doc] + + + +

sub AddMeshBuffer( mesh, vertex_count, ByRef vertex_data, ByRef normal_data, ByRef uv_data, index_count, ByRef index_data )

+

+ Sets the vertices, normals, and texture coordinates for a mesh +

+

Related: + CreateMesh +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/addsceneskybox.html b/doc/doc_files/addsceneskybox.html new file mode 100644 index 0000000..87875c7 --- /dev/null +++ b/doc/doc_files/addsceneskybox.html @@ -0,0 +1,89 @@ + + + + + + AddSceneSkyBox [RCBasic Doc] + + + +

sub AddSceneSkyBox( img_top, img_bottom, img_left, img_right, img_front, img_back)

+

+ Generates a skybox based on the provided images. +

+

Related: + AddSceneSkyDome + AddSceneSkyDomeEx +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/addsceneskydome.html b/doc/doc_files/addsceneskydome.html new file mode 100644 index 0000000..7234e24 --- /dev/null +++ b/doc/doc_files/addsceneskydome.html @@ -0,0 +1,88 @@ + + + + + + AddSceneSkyDome [RCBasic Doc] + + + +

sub AddSceneSkyDome( img )

+

+ Adds a sky dome to the scene +

+

Related: + AddSceneSkyDomeEx +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/addsceneskydomeex.html b/doc/doc_files/addsceneskydomeex.html new file mode 100644 index 0000000..efb3e20 --- /dev/null +++ b/doc/doc_files/addsceneskydomeex.html @@ -0,0 +1,109 @@ + + + + + + AddSceneSkyDomeEx [RCBasic Doc] + + + +

sub AddSceneSkyDomeEx( img, horiRes, vertRes, txPercentage, spherePercentage, radius)

+

+ Adds a sky dome to the scene +

+ +

Related: + AddSceneSkyBox + AddSceneSkyDome +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/adjointmatrix.html b/doc/doc_files/adjointmatrix.html new file mode 100644 index 0000000..4b77e3c --- /dev/null +++ b/doc/doc_files/adjointmatrix.html @@ -0,0 +1,85 @@ + + + + + + AdjointMatrix [RCBasic Doc] + + + +

function AdjointMatrix(mA, mB)

+

+ Stores the adjoint matrix of mA in mB +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/andbit.html b/doc/doc_files/andbit.html new file mode 100644 index 0000000..b79d081 --- /dev/null +++ b/doc/doc_files/andbit.html @@ -0,0 +1,85 @@ + + + + + + AndBit [RCBasic Doc] + + + +

function AndBit(a,b)

+

+ Returns the bitwise AND operation of 2 numbers +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/android_getexternalstoragepath.html b/doc/doc_files/android_getexternalstoragepath.html new file mode 100644 index 0000000..126b49f --- /dev/null +++ b/doc/doc_files/android_getexternalstoragepath.html @@ -0,0 +1,89 @@ + + + + + + Android_GetExternalStoragePath$ [RCBasic Doc] + + + +

function Android_GetExternalStoragePath$()

+

+ Returns the designated external storage path +

+

Related: + Android_GetExternalStorageState + Android_GetInternalStoragePath$ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/android_getexternalstoragestate.html b/doc/doc_files/android_getexternalstoragestate.html new file mode 100644 index 0000000..0e5a47d --- /dev/null +++ b/doc/doc_files/android_getexternalstoragestate.html @@ -0,0 +1,102 @@ + + + + + + Android_GetExternalStorageState [RCBasic Doc] + + + +

function Android_GetExternalStorageState()

+

+ Returns a bitmask of these values: +

+ +

+ If AndBit( Android_GetExternalStorageState(), ANDROID_EXTERNAL_STORAGE_READ ) Then 
+    Print "Can read from external storage" 
+ End If 
+

+

Related: + Android_GetExternalStoragePath$ + Android_GetInternalStoragePath$ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/android_getinternalstoragepath.html b/doc/doc_files/android_getinternalstoragepath.html new file mode 100644 index 0000000..97b0a88 --- /dev/null +++ b/doc/doc_files/android_getinternalstoragepath.html @@ -0,0 +1,89 @@ + + + + + + Android_GetInternalStoragePath$ [RCBasic Doc] + + + +

function Android_GetInternalStoragePath$()

+

+ Returns the internal storage path +

+

Related: + Android_GetExternalStorageState + Android_GetExternalStoragePath$ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/android_jni_message.html b/doc/doc_files/android_jni_message.html new file mode 100644 index 0000000..226103e --- /dev/null +++ b/doc/doc_files/android_jni_message.html @@ -0,0 +1,88 @@ + + + + + + Android_JNI_Message$ [RCBasic Doc] + + + +

function Android_JNI_Message$(arg$)

+

+ Passes arg$ to the rcbasic_android_interface() method in the java code for your android app. The java method returns a string. +

+

Related: + Runtime_Utility_Message$ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorcentralforcelocal.html b/doc/doc_files/applyactorcentralforcelocal.html new file mode 100644 index 0000000..2818bd3 --- /dev/null +++ b/doc/doc_files/applyactorcentralforcelocal.html @@ -0,0 +1,95 @@ + + + + + + ApplyActorCentralForceLocal [RCBasic Doc] + + + +

sub ApplyActorCentralForceLocal( actor, x, y, z)

+

+ Applies a force to the center of mass of an actor in local coordinate space. This force impacts the linear velocity of the object without affecting its rotation. +

+ +

Related: + ApplyActorCentralForceWorld + ApplyActorCentralImpulseLocal + ApplyActorCentralImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorcentralforceworld.html b/doc/doc_files/applyactorcentralforceworld.html new file mode 100644 index 0000000..97c1f25 --- /dev/null +++ b/doc/doc_files/applyactorcentralforceworld.html @@ -0,0 +1,95 @@ + + + + + + ApplyActorCentralForceWorld [RCBasic Doc] + + + +

sub ApplyActorCentralForceWorld( actor, x, y, z)

+

+ Applies a force to the center of mass of an actor in world coordinate space. This force impacts the linear velocity of the object without affecting its rotation. +

+ +

Related: + ApplyActorCentralForceLocal + ApplyActorCentralImpulseLocal + ApplyActorCentralImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorcentralimpulselocal.html b/doc/doc_files/applyactorcentralimpulselocal.html new file mode 100644 index 0000000..0ac8478 --- /dev/null +++ b/doc/doc_files/applyactorcentralimpulselocal.html @@ -0,0 +1,95 @@ + + + + + + ApplyActorCentralImpulseLocal [RCBasic Doc] + + + +

sub ApplyActorCentralImpulseLocal( actor, x, y, z)

+

+ Applies an impulse directly to the center of mass of an actor. An impulse differs from a continuous force in that it applies an immediate, short-duration change to the velocity of the actor. It affects the linear velocity but does not generate rotational effects (since it's applied to the center of mass). +

+ +

Related: + ApplyActorCentralForceLocal + ApplyActorCentralForceWorld + ApplyActorCentralImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorcentralimpulseworld.html b/doc/doc_files/applyactorcentralimpulseworld.html new file mode 100644 index 0000000..a8505cb --- /dev/null +++ b/doc/doc_files/applyactorcentralimpulseworld.html @@ -0,0 +1,95 @@ + + + + + + ApplyActorCentralImpulseWorld [RCBasic Doc] + + + +

sub ApplyActorCentralImpulseWorld( actor, x, y, z)

+

+ Applies an impulse directly to the center of mass of an actor. An impulse differs from a continuous force in that it applies an immediate, short-duration change to the velocity of the actor. It affects the linear velocity but does not generate rotational effects (since it's applied to the center of mass). +

+ +

Related: + ApplyActorCentralForceLocal + ApplyActorCentralForceWorld + ApplyActorCentralImpulseLocal +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactordamping.html b/doc/doc_files/applyactordamping.html new file mode 100644 index 0000000..3fcf6d0 --- /dev/null +++ b/doc/doc_files/applyactordamping.html @@ -0,0 +1,106 @@ + + + + + + ApplyActorDamping [RCBasic Doc] + + + +

sub ApplyActorDamping( actor, timeStep)

+

+ Reduces the velocity of an actor over time, simulating the effect of friction or air resistance. +

+

+ This function applies the linear and angular damping values set with the SetActorDamping() function. +

+

+ init_damping = False 
+ SetActorDamping(actor, 0.10.5) 
+ ApplyActorCentralImpulse(actor, 30000) 
+   
+ While True 
+    If Not init_damping Then 
+       ApplyActorDamping(actor, 5.0) 'Will apply the damping effect for 5 seconds
+       init_damping = True 
+    End If 
+    Update() 
+ Wend 
+

+

Related: + setActorDamping + getActorLinearDamping + getActorAngularDamping +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorforcelocal.html b/doc/doc_files/applyactorforcelocal.html new file mode 100644 index 0000000..359b6d8 --- /dev/null +++ b/doc/doc_files/applyactorforcelocal.html @@ -0,0 +1,98 @@ + + + + + + ApplyActorForceLocal [RCBasic Doc] + + + +

sub ApplyActorForceLocal( actor, x, y, z, rel_x, rel_y, rel_z)

+

+ Applies a force to an actor at a specific point. Unlike ApplyActorCentralForce(local/world), which applies force only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass. +

+ +

Related: + ApplyActorForceWorld + ApplyActorCentralForceLocal + ApplyActorCentralForceWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorforceworld.html b/doc/doc_files/applyactorforceworld.html new file mode 100644 index 0000000..d1ee9a0 --- /dev/null +++ b/doc/doc_files/applyactorforceworld.html @@ -0,0 +1,98 @@ + + + + + + ApplyActorForceWorld [RCBasic Doc] + + + +

sub ApplyActorForceWorld( actor, x, y, z, rel_x, rel_y, rel_z)

+

+ Applies a force to an actor at a specific point. Unlike ApplyActorCentralForce(local/world), which applies force only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass. +

+ +

Related: + ApplyActorForceLocal + ApplyActorCentralForceLocal + ApplyActorCentralForceWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorimpulselocal.html b/doc/doc_files/applyactorimpulselocal.html new file mode 100644 index 0000000..454597a --- /dev/null +++ b/doc/doc_files/applyactorimpulselocal.html @@ -0,0 +1,98 @@ + + + + + + ApplyActorImpulseLocal [RCBasic Doc] + + + +

sub ApplyActorImpulseLocal( actor, x, y, z, rel_x, rel_y, rel_z)

+

+ Applies an impulse to an actor at a specific point. Unlike ApplyActorCentralImpulse(local/world), which applies impulse only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass. +

+ +

Related: + ApplyActorImpulseWorld + ApplyActorForceLocal + ApplyActorForceWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactorimpulseworld.html b/doc/doc_files/applyactorimpulseworld.html new file mode 100644 index 0000000..d9698cb --- /dev/null +++ b/doc/doc_files/applyactorimpulseworld.html @@ -0,0 +1,98 @@ + + + + + + applyActorImpulseWorld [RCBasic Doc] + + + +

sub applyActorImpulseWorld( actor, x, y, z, rel_x, rel_y, rel_z)

+

+ Applies an impulse to an actor at a specific point. Unlike ApplyActorCentralImpulse(local/world), which applies impulse only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass. +

+ +

Related: + ApplyActorImpulseLocal + ApplyActorForceLocal + ApplyActorForceWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactortorqueimpulselocal.html b/doc/doc_files/applyactortorqueimpulselocal.html new file mode 100644 index 0000000..03e2bea --- /dev/null +++ b/doc/doc_files/applyactortorqueimpulselocal.html @@ -0,0 +1,94 @@ + + + + + + applyActorTorqueImpulseLocal [RCBasic Doc] + + + +

sub applyActorTorqueImpulseLocal( actor, x, y, z)

+

+ Applies an impulse that directly affects the angular velocity of an actor, causing it to rotate. This is similar to applying an impulse, but instead of changing the linear velocity (which applyActorCentralImpulse does), it alters the body's rotational motion (angular velocity) instantaneously. +

+ +

Related: + ApplyActorTorque + ApplyActorTorqueImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactortorqueimpulseworld.html b/doc/doc_files/applyactortorqueimpulseworld.html new file mode 100644 index 0000000..5b16e28 --- /dev/null +++ b/doc/doc_files/applyactortorqueimpulseworld.html @@ -0,0 +1,94 @@ + + + + + + applyActorTorqueImpulseWorld [RCBasic Doc] + + + +

sub applyActorTorqueImpulseWorld( actor, x, y, z)

+

+ Applies an impulse that directly affects the angular velocity of an actor, causing it to rotate. This is similar to applying an impulse, but instead of changing the linear velocity (which applyActorCentralImpulse does), it alters the body's rotational motion (angular velocity) instantaneously. +

+ +

Related: + ApplyActorTorque + ApplyActorTorqueImpulseLocal +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactortorquelocal.html b/doc/doc_files/applyactortorquelocal.html new file mode 100644 index 0000000..5d97177 --- /dev/null +++ b/doc/doc_files/applyactortorquelocal.html @@ -0,0 +1,95 @@ + + + + + + applyActorTorqueLocal [RCBasic Doc] + + + +

sub applyActorTorqueLocal( actor, x, y, z)

+

+ Applies a continuous torque to an actor, causing it to accelerate its rotational motion over time. Unlike applyActorTorqueImpulse, which causes an immediate change in angular velocity, this applies a torque force gradually, leading to a continuous rotational effect, similar to applying a force to linear motion. +

+ +

Related: + ApplyActorTorqueWorld + ApplyActorTorqueImpulseLocal + ApplyActorTorqueImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/applyactortorqueworld.html b/doc/doc_files/applyactortorqueworld.html new file mode 100644 index 0000000..385b3f9 --- /dev/null +++ b/doc/doc_files/applyactortorqueworld.html @@ -0,0 +1,95 @@ + + + + + + applyActorTorqueWorld [RCBasic Doc] + + + +

sub applyActorTorqueWorld( actor, x, y, z)

+

+ Applies a continuous torque to an actor, causing it to accelerate its rotational motion over time. Unlike applyActorTorqueImpulse, which causes an immediate change in angular velocity, this applies a torque force gradually, leading to a continuous rotational effect, similar to applying a force to linear motion. +

+ +

Related: + ApplyActorTorqueLocal + ApplyActorTorqueImpulseLocal + ApplyActorTorqueImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/arraycopy.html b/doc/doc_files/arraycopy.html new file mode 100644 index 0000000..6b4a56d --- /dev/null +++ b/doc/doc_files/arraycopy.html @@ -0,0 +1,93 @@ + + + + + + ArrayCopy [RCBasic Doc] + + + +

sub ArrayCopy(ByRef src, ByRef dst)

+

+ Copies the contents of src array to dst array +

+

+ Note: This function is a special case in that it can take any type for src or dst +

+

Related: + ArrayDim + ArraySize + ArrayFill +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/arraydim.html b/doc/doc_files/arraydim.html new file mode 100644 index 0000000..0ab70fc --- /dev/null +++ b/doc/doc_files/arraydim.html @@ -0,0 +1,90 @@ + + + + + + ArrayDim [RCBasic Doc] + + + +

function ArrayDim(Byref id)

+

+ Returns the number of dimensions in an array +

+

Related: + ArrayCopy + ArrayFill + ArraySize +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/arrayfill.html b/doc/doc_files/arrayfill.html new file mode 100644 index 0000000..3b27f92 --- /dev/null +++ b/doc/doc_files/arrayfill.html @@ -0,0 +1,90 @@ + + + + + + ArrayFill [RCBasic Doc] + + + +

sub ArrayFill(ByRef src, fdata)

+

+ Fills all the elements in an array with the value in fdata +

+

Related: + ArrayCopy + ArrayDim + ArraySize +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/arrays.html b/doc/doc_files/arrays.html new file mode 100644 index 0000000..444621d --- /dev/null +++ b/doc/doc_files/arrays.html @@ -0,0 +1,129 @@ + + + + + + RCBasic Arrays [RCBasic Doc] + + + +

ARRAYS

+

+ In complex programs there is often a need to be able to store large amounts of data. It would be unreasonable to have to create a variable for each piece of data we may need to store. This is where an array can come in handy. Arrays are simply ways of using one variable to store multiple different values. You can create arrays of numbers or strings. Look at the following: +

+

+ Dim A[5] 
+

+

+ The above example creates an array of numbers called A. A can store five numbers which are retrieved using A[0] to A[4]. Notice that A[4] is the last element in the array and not A[5]. That is because the first index in the array is 0 and the array only stores 5 numbers. To set the values in this array you could do the following: +

+

+ A[0] = 3 
+ A[1] = 2 
+ A[2] = 7 
+ A[3] = 1 
+ A[4] = 0 
+

+

+ You would access and array just like you would a variable. Look at the following: +

+

+ X = A[0] + A[3]     '( Based on the above example the variable X would be set to 4. )
+

+

+ To make a string variable you would do the same thing you do to make a number variable except you would use the $ just like you would use to make a normal string variable. Look at the following: +

+

+ Dim B$[3] 
+   
+ B[0] = "ABC" 
+ B[1] = "DEF" 
+ B[2] = "I KNOW THE ALPHABET" 
+

+

+ Arrays can have up to 3 dimensions. Adding more dimensions to an array can make organizing data in the array easier depending on the situation. Look at the following: +

+

+ Dim  X[23] 
+ Dim  Y[345] 
+

+

+ The above example creates a 2 dimensional array called X which has 2 indices in its first dimension. Its second dimension has 3 indices. This means that each of the 2 indices in the first dimension can store 3 different values. So X can store a total of 6 different values. The second line creates a 3 dimensional array called Y. Y has 3 indices in its first dimension. Each of those 3 indices has 4 indices in its 2nd dimension. Each of the 4 indices has 5 values it can store. This means that Y can store a total of 60 different values. Look at the following for an example on how to work with these multi-dimensional arrays: +

+

+ X[02] = 5      '(This line sets the 3rd value in the first index to 5. Remember that the first index is always 0 so the 3rd index will be 2.)
+   
+ Y[123] = 6   '(This line sets the 4th value of the 3rd index in the 2nd index in the array to 6. That was a mouth full. )
+

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/arraysize.html b/doc/doc_files/arraysize.html new file mode 100644 index 0000000..17ed546 --- /dev/null +++ b/doc/doc_files/arraysize.html @@ -0,0 +1,90 @@ + + + + + + ArraySize [RCBasic Doc] + + + +

function ArraySize(Byref id, array_dim)

+

+ Returns the number of elements in the given dimension of an array +

+

Related: + ArrayDim + ArrayCopy + ArrayFill +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/asc.html b/doc/doc_files/asc.html new file mode 100644 index 0000000..f282ad1 --- /dev/null +++ b/doc/doc_files/asc.html @@ -0,0 +1,85 @@ + + + + + + Asc [RCBasic Doc] + + + +

function Asc(c$)

+

+ Returns the ASCII value of a character. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/asin.html b/doc/doc_files/asin.html new file mode 100644 index 0000000..031c9db --- /dev/null +++ b/doc/doc_files/asin.html @@ -0,0 +1,85 @@ + + + + + + Asin [RCBasic Doc] + + + +

function Asin(n)

+

+ Returns the ArcSine of a number. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/atan.html b/doc/doc_files/atan.html new file mode 100644 index 0000000..7758f87 --- /dev/null +++ b/doc/doc_files/atan.html @@ -0,0 +1,85 @@ + + + + + + Atan [RCBasic Doc] + + + +

function Atan(n)

+

+ Returns the ArcTangent of a number. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/atan2.html b/doc/doc_files/atan2.html new file mode 100644 index 0000000..967f200 --- /dev/null +++ b/doc/doc_files/atan2.html @@ -0,0 +1,85 @@ + + + + + + ATan2 [RCBasic Doc] + + + +

Function ATan2(y, x)

+

+ Returns the ArcTangent of x and y +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/augmentmatrix.html b/doc/doc_files/augmentmatrix.html new file mode 100644 index 0000000..c35e83f --- /dev/null +++ b/doc/doc_files/augmentmatrix.html @@ -0,0 +1,88 @@ + + + + + + AugmentMatrix [RCBasic Doc] + + + +

function AugmentMatrix(mA, mB, mC)

+

+ Appends the columns of matrix mB onto matrix mA and stores the result in mC. +

+

+ NOTE: Must mA and mB must be the same number of rows. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/bin.html b/doc/doc_files/bin.html new file mode 100644 index 0000000..9b9fccb --- /dev/null +++ b/doc/doc_files/bin.html @@ -0,0 +1,85 @@ + + + + + + Bin$ [RCBasic Doc] + + + +

function Bin$(n)

+

+ Returns the binary representation of a number. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/bufferfromimage.html b/doc/doc_files/bufferfromimage.html new file mode 100644 index 0000000..6b8e9a7 --- /dev/null +++ b/doc/doc_files/bufferfromimage.html @@ -0,0 +1,82 @@ + + + + + + BufferFromImage [RCBasic Doc] + + + +

sub BufferFromImage(slot, byref buffer)

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/bufferfrommatrix.html b/doc/doc_files/bufferfrommatrix.html new file mode 100644 index 0000000..1f2c0c2 --- /dev/null +++ b/doc/doc_files/bufferfrommatrix.html @@ -0,0 +1,91 @@ + + + + + + BufferFromMatrix [RCBasic Doc] + + + +

sub BufferFromMatrix(ByRef buffer, mA)

+

+ Saves the matrix mA in an array +

+

+ NOTE: buffer must have the same number of dimensions as the desired matrix for the structure to remain intact. +

+

Related: + MatrixFromBuffer +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/bufferfromstring.html b/doc/doc_files/bufferfromstring.html new file mode 100644 index 0000000..da4dcdf --- /dev/null +++ b/doc/doc_files/bufferfromstring.html @@ -0,0 +1,88 @@ + + + + + + BufferFromString [RCBasic Doc] + + + +

function BufferFromString(s$, ByRef buffer)

+

+ Stores the byte value of a string into a number buffer +

+

Related: + StringFromBuffer$ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/canvas.html b/doc/doc_files/canvas.html new file mode 100644 index 0000000..f6741e6 --- /dev/null +++ b/doc/doc_files/canvas.html @@ -0,0 +1,88 @@ + + + + + + Canvas [RCBasic Doc] + + + +

sub Canvas(c_num)

+

+ Sets the active canvas for drawing commands to use +

+

Related: + ActiveCanvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/canvasclip.html b/doc/doc_files/canvasclip.html new file mode 100644 index 0000000..d1187e0 --- /dev/null +++ b/doc/doc_files/canvasclip.html @@ -0,0 +1,88 @@ + + + + + + CanvasClip [RCBasic Doc] + + + +

function CanvasClip(x, y, w, h)

+

+ Returns an image id with a selected portion of the active drawing canvas saved +

+

Related: + WindowClip +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/canvasisvisible.html b/doc/doc_files/canvasisvisible.html new file mode 100644 index 0000000..e5002c2 --- /dev/null +++ b/doc/doc_files/canvasisvisible.html @@ -0,0 +1,88 @@ + + + + + + CanvasIsVisible [RCBasic Doc] + + + +

function CanvasIsVisible(c_num)

+

+ Returns true if a canvas is shown in the Window +

+

Related: + SetCanvasVisible +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/canvasz.html b/doc/doc_files/canvasz.html new file mode 100644 index 0000000..7c015f8 --- /dev/null +++ b/doc/doc_files/canvasz.html @@ -0,0 +1,91 @@ + + + + + + CanvasZ [RCBasic Doc] + + + +

function CanvasZ(c_num)

+

+ Returns the Canvas Z Order. +

+

+ Note: Canvases with a higher Z order are drawn first and those with lower values will be drawn on top +

+

Related: + SetCanvasZ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/changedir.html b/doc/doc_files/changedir.html new file mode 100644 index 0000000..d2ad726 --- /dev/null +++ b/doc/doc_files/changedir.html @@ -0,0 +1,85 @@ + + + + + + ChangeDir [RCBasic Doc] + + + +

sub ChangeDir(p$)

+

+ Sets the working directory that the directory commands use +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/channelispaused.html b/doc/doc_files/channelispaused.html new file mode 100644 index 0000000..8d6cbdc --- /dev/null +++ b/doc/doc_files/channelispaused.html @@ -0,0 +1,88 @@ + + + + + + ChannelIsPaused [RCBasic Doc] + + + +

function ChannelIsPaused(channel)

+

+ Returns true if an audio channel is currently paused +

+

Related: + PauseSound +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/channelisplaying.html b/doc/doc_files/channelisplaying.html new file mode 100644 index 0000000..28c826c --- /dev/null +++ b/doc/doc_files/channelisplaying.html @@ -0,0 +1,90 @@ + + + + + + ChannelIsPlaying [RCBasic Doc] + + + +

function ChannelIsPlaying(channel)

+

+ Returns true if an audio channel is playing +

+

Related: + ChannelIsPaused + PlaySound + PlaySoundTimed +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/checksockets.html b/doc/doc_files/checksockets.html new file mode 100644 index 0000000..c90f3c2 --- /dev/null +++ b/doc/doc_files/checksockets.html @@ -0,0 +1,88 @@ + + + + + + CheckSockets [RCBasic Doc] + + + +

function CheckSockets(timeout_ms)

+

+ Checks all connected sockets for activity. If timeout_ms is greater than 0 than it will wait that many milliseconds. If less than 0 it will wait for over 49 days (hint: there is no reason what so ever to set this less than 0). +

+

+ Returns the number of sockets that have activity (ie. a connection was made or data was sent) +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/chr.html b/doc/doc_files/chr.html new file mode 100644 index 0000000..5894448 --- /dev/null +++ b/doc/doc_files/chr.html @@ -0,0 +1,85 @@ + + + + + + Chr$ [RCBasic Doc] + + + +

function Chr$(n)

+

+ Returns the character with the matching ASCII value n. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/cint32.html b/doc/doc_files/cint32.html new file mode 100644 index 0000000..b0c8581 --- /dev/null +++ b/doc/doc_files/cint32.html @@ -0,0 +1,85 @@ + + + + + + CInt32 [RCBasic Doc] + + + +

function CInt32(i)

+

+ Returns a 32-bit signed integer. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/cint64.html b/doc/doc_files/cint64.html new file mode 100644 index 0000000..ec75058 --- /dev/null +++ b/doc/doc_files/cint64.html @@ -0,0 +1,85 @@ + + + + + + CInt64 [RCBasic Doc] + + + +

function CInt64(i)

+

+ Returns a 64-bit signed integer. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/circle.html b/doc/doc_files/circle.html new file mode 100644 index 0000000..cd28a1b --- /dev/null +++ b/doc/doc_files/circle.html @@ -0,0 +1,85 @@ + + + + + + Circle [RCBasic Doc] + + + +

sub Circle(x,y,radius)

+

+ Draws a circle on the current canvas. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/circlefill.html b/doc/doc_files/circlefill.html new file mode 100644 index 0000000..269e99c --- /dev/null +++ b/doc/doc_files/circlefill.html @@ -0,0 +1,85 @@ + + + + + + CircleFill [RCBasic Doc] + + + +

sub CircleFill(x,y,radius)

+

+ Draws a filled circle on the current canvas. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearactorforces.html b/doc/doc_files/clearactorforces.html new file mode 100644 index 0000000..7b8ebbb --- /dev/null +++ b/doc/doc_files/clearactorforces.html @@ -0,0 +1,99 @@ + + + + + + clearActorForces [RCBasic Doc] + + + +

sub clearActorForces( actor)

+

+ Resets or clears all the forces and torques that have been applied to a rigid body in the current simulation step. This ensures that any forces, including linear forces and torques, do not accumulate from one simulation step to the next. +

+

+ Notes: +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearcanvas.html b/doc/doc_files/clearcanvas.html new file mode 100644 index 0000000..2cb0976 --- /dev/null +++ b/doc/doc_files/clearcanvas.html @@ -0,0 +1,85 @@ + + + + + + ClearCanvas [RCBasic Doc] + + + +

sub ClearCanvas()

+

+ Clears the active drawing canvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearmatrix.html b/doc/doc_files/clearmatrix.html new file mode 100644 index 0000000..ab84cb9 --- /dev/null +++ b/doc/doc_files/clearmatrix.html @@ -0,0 +1,85 @@ + + + + + + ClearMatrix [RCBasic Doc] + + + +

sub ClearMatrix(mA)

+

+ Sets all elements in a matrix to zero +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearmatrixcolumns.html b/doc/doc_files/clearmatrixcolumns.html new file mode 100644 index 0000000..cce933c --- /dev/null +++ b/doc/doc_files/clearmatrixcolumns.html @@ -0,0 +1,89 @@ + + + + + + ClearMatrixColumns [RCBasic Doc] + + + +

function ClearMatrixColumns(mA, c, num_cols)

+

+ Sets all elements in the matrix columns specified to zero. +

+

Related: + ClearMatrix + ClearMatrixRows +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearmatrixrows.html b/doc/doc_files/clearmatrixrows.html new file mode 100644 index 0000000..fd9179a --- /dev/null +++ b/doc/doc_files/clearmatrixrows.html @@ -0,0 +1,89 @@ + + + + + + ClearMatrixRows [RCBasic Doc] + + + +

function ClearMatrixRows(mA, r, num_rows)

+

+ Sets all elements in the matrix rows specified to zero. +

+

Related: + ClearMatrix + ClearMatrixColumns +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearmousezone.html b/doc/doc_files/clearmousezone.html new file mode 100644 index 0000000..24ffb6c --- /dev/null +++ b/doc/doc_files/clearmousezone.html @@ -0,0 +1,85 @@ + + + + + + ClearMouseZone [RCBasic Doc] + + + +

sub ClearMouseZone()

+

+ Removes the previously set mouse zone from the window +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearstack_n.html b/doc/doc_files/clearstack_n.html new file mode 100644 index 0000000..ecb7520 --- /dev/null +++ b/doc/doc_files/clearstack_n.html @@ -0,0 +1,88 @@ + + + + + + ClearStack_N [RCBasic Doc] + + + +

sub ClearStack_N( num_stack )

+

+ Removes all elements from the stack +

+

Related: + ClearStack_S +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clearstack_s.html b/doc/doc_files/clearstack_s.html new file mode 100644 index 0000000..dd0b7f1 --- /dev/null +++ b/doc/doc_files/clearstack_s.html @@ -0,0 +1,88 @@ + + + + + + ClearStack_S [RCBasic Doc] + + + +

sub ClearStack_S( str_stack )

+

+ Removes all elements from the stack +

+

Related: + ClearStack_N +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clipmatrix.html b/doc/doc_files/clipmatrix.html new file mode 100644 index 0000000..a9390cb --- /dev/null +++ b/doc/doc_files/clipmatrix.html @@ -0,0 +1,85 @@ + + + + + + ClipMatrix [RCBasic Doc] + + + +

sub ClipMatrix(mA, r, c, num_rows, num_cols, mB)

+

+ Copies the specified portion of matrix mA into matrix mB +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/clonecanvas.html b/doc/doc_files/clonecanvas.html new file mode 100644 index 0000000..c4d9b0f --- /dev/null +++ b/doc/doc_files/clonecanvas.html @@ -0,0 +1,91 @@ + + + + + + CloneCanvas [RCBasic Doc] + + + +

function CloneCanvas(c_num, mode)

+

+ Returns a clone of a canvas. Clone canvases are mirrors of the original canvas so when you draw to one it will also be on the other. This is useful for a splitscreen 2d game. +

+

+ Mode is a canvas render mode like the one passed to OpenCanvas() +

+

Related: + OpenCanvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/closecanvas.html b/doc/doc_files/closecanvas.html new file mode 100644 index 0000000..aabe560 --- /dev/null +++ b/doc/doc_files/closecanvas.html @@ -0,0 +1,88 @@ + + + + + + CloseCanvas [RCBasic Doc] + + + +

Sub CloseCanvas(c_num)

+

+ Closes a canvas +

+

Related: + OpenCanvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/closefile.html b/doc/doc_files/closefile.html new file mode 100644 index 0000000..f304c22 --- /dev/null +++ b/doc/doc_files/closefile.html @@ -0,0 +1,88 @@ + + + + + + CloseFile [RCBasic Doc] + + + +

sub CloseFile( stream )

+

+ Closes a file +

+

Related: + OpenFile +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/closewindow.html b/doc/doc_files/closewindow.html new file mode 100644 index 0000000..de3d73f --- /dev/null +++ b/doc/doc_files/closewindow.html @@ -0,0 +1,88 @@ + + + + + + CloseWindow [RCBasic Doc] + + + +

sub CloseWindow( )

+

+ Closes the graphics window +

+

Related: + OpenWindow +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/cls.html b/doc/doc_files/cls.html new file mode 100644 index 0000000..30073e8 --- /dev/null +++ b/doc/doc_files/cls.html @@ -0,0 +1,85 @@ + + + + + + Cls [RCBasic Doc] + + + +

sub Cls()

+

+ Clears the back buffer on the window +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/cofactormatrix.html b/doc/doc_files/cofactormatrix.html new file mode 100644 index 0000000..e9d41bc --- /dev/null +++ b/doc/doc_files/cofactormatrix.html @@ -0,0 +1,88 @@ + + + + + + CofactorMatrix [RCBasic Doc] + + + +

sub CofactorMatrix(mA, r, c)

+

+ Sets matrix mA to a cofactor. This will change the original matrix so it is recommended to copy the matrix if you still need the original matrix. +

+

Related: + CopyMatrix +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/colorkey.html b/doc/doc_files/colorkey.html new file mode 100644 index 0000000..300181c --- /dev/null +++ b/doc/doc_files/colorkey.html @@ -0,0 +1,85 @@ + + + + + + ColorKey [RCBasic Doc] + + + +

sub ColorKey(img_id, c)

+

+ Sets the color key for an image +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/command.html b/doc/doc_files/command.html new file mode 100644 index 0000000..995f2fd --- /dev/null +++ b/doc/doc_files/command.html @@ -0,0 +1,91 @@ + + + + + + Command$ [RCBasic Doc] + + + +

function Command$(arg)

+

+ Returns command line arguments passed to a program. +

+

+ Note: Command$(0) will always be the program being executed ( your_program.cbc ) +

+

Related: + NumCommands +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/comments.html b/doc/doc_files/comments.html new file mode 100644 index 0000000..35bdb9d --- /dev/null +++ b/doc/doc_files/comments.html @@ -0,0 +1,100 @@ + + + + + + RCBasic Comments [RCBasic Doc] + + + +

COMMENTS

+

+ Comments are remarks you can add to your code which will be ignored by the compiler. To make a comment you would use a single quote. Look at the following: +

+

+ ' THIS IS A COMMENT
+ Print HELLO "WORLD ' THIS IS ANOTHER COMMENT
+

+

+ MULTI-LINE COMMENTS +

+

+ Multi-line comments are comments that can span multiple lines. To start a multi-line comment you would use forward slash followed by a single quote and you would end it with a single quote followed by a forward slash. Look at the following: +

+

+ /' THIS IS
+ A 
+ MULTI-LINE COMMENT '/
+

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/computeactorangularimpulsedenominator.html b/doc/doc_files/computeactorangularimpulsedenominator.html new file mode 100644 index 0000000..b1ccf5a --- /dev/null +++ b/doc/doc_files/computeactorangularimpulsedenominator.html @@ -0,0 +1,88 @@ + + + + + + ComputeActorAngularImpulseDenominator [RCBasic Doc] + + + +

function ComputeActorAngularImpulseDenominator( actor, x, y, z)

+

+ Computes a scalar value that represents how an actor will respond to an angular impulse at a given point, taking into account the actor's inertia tensor (which governs how the object resists rotation). This function is particularly useful in calculating the actor's rotational response to an impulse, typically during collision resolution or constraints involving rotation. +

+

Related: + ComputeActorImpulseDenominator +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/computeactorgyroimpulselocal.html b/doc/doc_files/computeactorgyroimpulselocal.html new file mode 100644 index 0000000..06b56a9 --- /dev/null +++ b/doc/doc_files/computeactorgyroimpulselocal.html @@ -0,0 +1,88 @@ + + + + + + ComputeActorGyroImpulseLocal [RCBasic Doc] + + + +

sub ComputeActorGyroImpulseLocal( actor, dt, ByRef x, ByRef y, ByRef z)

+

+ Computes the gyroscopic impulse for an actor in an implicit manner, based on the actor's current angular velocity and inertia. This function is used to simulate the gyroscopic effect—also known as gyroscopic precession—which occurs when a rotating object experiences a torque that causes its axis of rotation to change. +

+

Related: + ComputeActorGyroImpulseWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/computeactorgyroimpulseworld.html b/doc/doc_files/computeactorgyroimpulseworld.html new file mode 100644 index 0000000..73b74de --- /dev/null +++ b/doc/doc_files/computeactorgyroimpulseworld.html @@ -0,0 +1,88 @@ + + + + + + ComputeActorGyroImpulseWorld [RCBasic Doc] + + + +

sub ComputeActorGyroImpulseWorld( actor, dt, ByRef x, ByRef y, ByRef z)

+

+ Computes the gyroscopic impulse for an actor in an implicit manner, but in this case, it performs the calculation relative to the world frame of reference, rather than the actor’s local frame. This function is used to handle the gyroscopic effects (i.e., gyroscopic precession) of a rotating object when a torque is applied, affecting its axis of rotation. +

+

Related: + ComputeActorGyroImpulseLocal +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/computeactorimpulsedenominator.html b/doc/doc_files/computeactorimpulsedenominator.html new file mode 100644 index 0000000..f0608da --- /dev/null +++ b/doc/doc_files/computeactorimpulsedenominator.html @@ -0,0 +1,88 @@ + + + + + + ComputeActorImpulseDenominator [RCBasic Doc] + + + +

function ComputeActorImpulseDenominator( actor, pos_x, pos_y, pos_z, normal_x, normal_y, normal_z)

+

+ Computes a scalar value related to how a rigid body will respond to an applied impulse at a given point. It’s primarily used internally in the physics engine to calculate how an object’s mass, inertia, and shape will affect the outcome of impulses, particularly in collisions or constraints like contact points between objects. +

+

Related: + ComputeActorAngularImpulseDenominator +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/conditions.html b/doc/doc_files/conditions.html new file mode 100644 index 0000000..4fca846 --- /dev/null +++ b/doc/doc_files/conditions.html @@ -0,0 +1,103 @@ + + + + + + RCBasic Conditions [RCBasic Doc] + + + +

CONDITIONS

+

+ RC BASIC uses the same conventions of other programming languages to control the flow of the program. There are two main ways of getting your program to decide on its next course of action. The most common way is with the IF statement block. +

+

+ If 5 > 6 Then Print "THIS WILL NOT PRINT" ElseIf 5 < 6 Then Print "THIS WILL PRINT" Else Print "THIS ALSO WILL NOT PRINT" End If +

+

+ The above example does different comparisons and will output text to a console depending on which condition is true. +

+

+ The next method of control flow is the SELECT statement block. +

+

+ Select Case 5 Case 6 Print THIS WILL NOT PRINT" Case 5 Print "THIS WILL PRINT" Default 'Note: Default will be true if every other case is false. ' Default is optional and can be excluded if you don't need it Print "THIS WILL NOT PRINT" End Select +

+

+ The above example will compare each case in the block to the SELECT CASE. If the case is equal to the select case then the code in that case will be executed. You can also add multiple values to compare to each CASE. Select Case 5 Case 6 Print THIS WILL NOT PRINT" Case 4, 5 Print "THIS WILL PRINT" Default Print "THIS WILL NOT PRINT" End Select +

+

+ The above example is mostly the same as the previous example. The difference is that in our second CASE we are comparing both 4 and 5. If either of them are equal to our SELECT argument then the code inside the CASE block will execute. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/constants.html b/doc/doc_files/constants.html new file mode 100644 index 0000000..264e541 --- /dev/null +++ b/doc/doc_files/constants.html @@ -0,0 +1,89 @@ + + + + + + RCBasic Constants [RCBasic Doc] + + + +

CONTANTS

+

+ RCBasic has a special type of variable called a constant which can hold an expression. This means it can hold an expression and not determine its value until its used. For example you can have a constant called C that is equal to A + B. Everytime you change the value of A or B, C's value will also change. Because constants hold expressions, any valid expression in RCBasic can be stored in a constant. +

+

+ const  A = 5 
+ const  MY_PRINT = print "hello world" 
+

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/constraintexists.html b/doc/doc_files/constraintexists.html new file mode 100644 index 0000000..9e932d6 --- /dev/null +++ b/doc/doc_files/constraintexists.html @@ -0,0 +1,82 @@ + + + + + + ConstraintExists [RCBasic Doc] + + + +

function ConstraintExists( constraint_id )

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copyactormaterial.html b/doc/doc_files/copyactormaterial.html new file mode 100644 index 0000000..bee23bf --- /dev/null +++ b/doc/doc_files/copyactormaterial.html @@ -0,0 +1,85 @@ + + + + + + copyActorMaterial [RCBasic Doc] + + + +

function copyActorMaterial( actor, material_num)

+

+ Returns a material id for a copy of an actor's material +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copyfile.html b/doc/doc_files/copyfile.html new file mode 100644 index 0000000..24fbdcc --- /dev/null +++ b/doc/doc_files/copyfile.html @@ -0,0 +1,85 @@ + + + + + + CopyFile [RCBasic Doc] + + + +

sub CopyFile(src$, dst$)

+

+ Copies the contents of src$ file to a new dst$ file +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copyimage.html b/doc/doc_files/copyimage.html new file mode 100644 index 0000000..75f1cc7 --- /dev/null +++ b/doc/doc_files/copyimage.html @@ -0,0 +1,85 @@ + + + + + + CopyImage [RCBasic Doc] + + + +

function CopyImage( img_id )

+

+ Returns a copy of an image +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copymaterial.html b/doc/doc_files/copymaterial.html new file mode 100644 index 0000000..7871374 --- /dev/null +++ b/doc/doc_files/copymaterial.html @@ -0,0 +1,85 @@ + + + + + + copyMaterial [RCBasic Doc] + + + +

function copyMaterial( smaterial_id)

+

+ Returns a copy of a material +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copymatrix.html b/doc/doc_files/copymatrix.html new file mode 100644 index 0000000..99e95ad --- /dev/null +++ b/doc/doc_files/copymatrix.html @@ -0,0 +1,85 @@ + + + + + + CopyMatrix [RCBasic Doc] + + + +

sub CopyMatrix(mA, mB)

+

+ Copies matrix mA to matrix mB +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copymatrixcolumns.html b/doc/doc_files/copymatrixcolumns.html new file mode 100644 index 0000000..3a2a489 --- /dev/null +++ b/doc/doc_files/copymatrixcolumns.html @@ -0,0 +1,88 @@ + + + + + + CopyMatrixColumns [RCBasic Doc] + + + +

function CopyMatrixColumns(mA, mB, c, num_cols)

+

+ Copies the specified matrix columns from matrix mA to matrix mB. +

+

+ Note: Matrix mB will be redimensioned to the size of the copied columns. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/copymatrixrows.html b/doc/doc_files/copymatrixrows.html new file mode 100644 index 0000000..1e3f87c --- /dev/null +++ b/doc/doc_files/copymatrixrows.html @@ -0,0 +1,88 @@ + + + + + + CopyMatrixRows [RCBasic Doc] + + + +

function CopyMatrixRows(mA, mB, r, num_rows)

+

+ Copies the specified matrix rows from matrix mA to matrix mB. +

+

+ Note: Matrix mB will be redimensioned to the size of the copied rows. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/cos.html b/doc/doc_files/cos.html new file mode 100644 index 0000000..6b4a03c --- /dev/null +++ b/doc/doc_files/cos.html @@ -0,0 +1,85 @@ + + + + + + Cos [RCBasic Doc] + + + +

function Cos(n)

+

+ Returns the Cosine of an angle +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createactoranimation.html b/doc/doc_files/createactoranimation.html new file mode 100644 index 0000000..9cadaa8 --- /dev/null +++ b/doc/doc_files/createactoranimation.html @@ -0,0 +1,82 @@ + + + + + + CreateActorAnimation [RCBasic Doc] + + + +

Function CreateActorAnimation(actor, start_frame, end_frame, speed)

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createanimatedactor.html b/doc/doc_files/createanimatedactor.html new file mode 100644 index 0000000..d1a0118 --- /dev/null +++ b/doc/doc_files/createanimatedactor.html @@ -0,0 +1,105 @@ + + + + + + CreateAnimatedActor [RCBasic Doc] + + + +

function CreateAnimatedActor( mesh )

+

+ Returns a new animated actor composed of a mesh +

+

+ The mesh can either be created using CreateMesh() or Loaded using LoadMesh() +

+

Related: + CreateMesh + LoadMesh + LoadMeshFromAN8 +

+

+
+

+

Related: + CreateOctreeActor + CreateCubeActor + CreateSphereActor + CreateWaterActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createbillboardactor.html b/doc/doc_files/createbillboardactor.html new file mode 100644 index 0000000..c44ea3b --- /dev/null +++ b/doc/doc_files/createbillboardactor.html @@ -0,0 +1,97 @@ + + + + + + CreateBillboardActor [RCBasic Doc] + + + +

function CreateBillboardActor( )

+

+ Returns a billboard actor +

+

+ Billboard actors are flat textured planes that are always facing the camera. +

+

Related: + CreateAnimatedActor + CreateOctreeActor + CreateSphereActor + CreateWaterActor + CreateLightActor + CreateCubeActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createconeconstraint.html b/doc/doc_files/createconeconstraint.html new file mode 100644 index 0000000..f6a8186 --- /dev/null +++ b/doc/doc_files/createconeconstraint.html @@ -0,0 +1,104 @@ + + + + + + CreateConeConstraint [RCBasic Doc] + + + +

function CreateConeConstraint( actorA, rbAFrame_matrix)

+

+ The Cone Constraint is a type of joint constraint used to simulate realistic rotational movement between two actors (or between an actor and the world) with specific angular limits. This constraint is especially useful for simulating ball-and-socket joints with some twisting freedom but restricted cone-like movement, such as human shoulders or robotic arms. +

+

+ actorA = CreateCubeActor(100) 
+   
+ rbA = DimMatrix(44) 'A transform matrix should be a 4x4 matrix
+ SetIdentityMatrix(rbA, 4) 'This will set rbA to a 4x4 identity matrix
+ SetMatrixTranslation(rbA, 0400) 'Set the point where the constraint connects to actorA to 1 unit above its origin
+ SetMatrixRotation(rbA, 000) 'Sets the angle the constraint is attached at to 0 on all axes
+   
+ test_cone = CreateConeConstraint( actorA, rbA ) 
+

+

+ Note: It is recommended to use CreateConeConstraintEx() in most cases +

+

Related: + CreateConeConstraintEx + SetIdentityMatrix + SetMatrixTranslation + SetMatrixRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createconeconstraintex.html b/doc/doc_files/createconeconstraintex.html new file mode 100644 index 0000000..2a645da --- /dev/null +++ b/doc/doc_files/createconeconstraintex.html @@ -0,0 +1,107 @@ + + + + + + createConeConstraintEx [RCBasic Doc] + + + +

function createConeConstraintEx( actorA, actorB, rbAFrame_matrix, rbBFrame_matrix)

+

+ The Cone Constraint is a type of joint constraint used to simulate realistic rotational movement between two actors (or between an actor and the world) with specific angular limits. This constraint is especially useful for simulating ball-and-socket joints with some twisting freedom but restricted cone-like movement, such as human shoulders or robotic arms. +

+

+ actorA = CreateCubeActor(100) 
+ actorB = CreateCubeActor(100) 
+   
+ rbA = DimMatrix(44) 'A transform matrix should be a 4x4 matrix
+ SetIdentityMatrix(rbA, 4) 'This will set rbA to a 4x4 identity matrix
+ SetMatrixTranslation(rbA, 0400) 'Set the point where the constraint connects to actorA to 1 unit above its origin
+ SetMatrixRotation(rbA, 000) 'Sets the angle the constraint is attached at to 0 on all axes
+   
+ rbB = DimMatrix(44) 'A transform matrix should be a 4x4 matrix
+ SetIdentityMatrix(rbB, 4) 'This will set rbA to a 4x4 identity matrix
+ SetMatrixTranslation(rbB, 0400) 'Set the point where the constraint connects to actorA to 1 unit above its origin
+ SetMatrixRotation(rbB, 000) 'Sets the angle the constraint is attached at to 0 on all axes
+   
+ test_cone = CreateConeConstraint( actorA, rbA ) 
+

+

Related: + CreateConeConstraint + SetIdentityMatrix + SetMatrixTranslation + SetMatrixRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createcubeactor.html b/doc/doc_files/createcubeactor.html new file mode 100644 index 0000000..64d4079 --- /dev/null +++ b/doc/doc_files/createcubeactor.html @@ -0,0 +1,94 @@ + + + + + + CreateCubeActor [RCBasic Doc] + + + +

function CreateCubeActor( cube_size )

+

+ Returns an actor with a cube mesh of the specified size ( cube_size x cube_size x cube_size ) +

+

Related: + CreateAnimatedActor + CreateOctreeActor + CreateSphereActor + CreateWaterActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createhingeconstraint.html b/doc/doc_files/createhingeconstraint.html new file mode 100644 index 0000000..b8a3b0a --- /dev/null +++ b/doc/doc_files/createhingeconstraint.html @@ -0,0 +1,101 @@ + + + + + + createHingeConstraint [RCBasic Doc] + + + +

function createHingeConstraint( actorA, frameA, useReferenceFrameA )

+

+ Simulates a hinge joint, which allows two actors (or an actor and the world) to rotate around a single axis while restricting movement along the other axes. This is similar to the way a door swings on its hinges or how an elbow joint functions in the human body. +

+

+ actorA = CreateCubeActor(100) 'Creates a cube actor
+ frameA = DimMatrix(44) 'A transform matrix must be a 4x4 matrix
+ SetIdentityMatrix(frameA, 4) 'Sets frameB to a 4x4 identity matrix
+ SetMatrixTranslation(frameA, 010) 'Sets the attach point of the constraint to the top of the cube
+ hinge = CreateHingeConstraint(actorA, frameA, true) 
+

+

+ Note: It is recommended to use CreateSlideConstraintEx() in most cases +

+

Related: + CreateHingeConstraintEx + SetIdentityMatrix + SetMatrixTranslation + SetMatrixRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createhingeconstraintex.html b/doc/doc_files/createhingeconstraintex.html new file mode 100644 index 0000000..22403ec --- /dev/null +++ b/doc/doc_files/createhingeconstraintex.html @@ -0,0 +1,107 @@ + + + + + + createHingeConstraintEx [RCBasic Doc] + + + +

function createHingeConstraintEx( actorA, actorB, frameA, frameB, useReferenceFrameA)

+

+ Simulates a hinge joint, which allows two actors (or an actor and the world) to rotate around a single axis while restricting movement along the other axes. This is similar to the way a door swings on its hinges or how an elbow joint functions in the human body. +

+

+ actorA = CreateCubeActor(100) 'Creates a cube actor
+ frameA = DimMatrix(44) 'A transform matrix must be a 4x4 matrix
+ SetIdentityMatrix(frameA, 4) 'Sets frameB to a 4x4 identity matrix
+ SetMatrixTranslation(frameA, 010) 'Sets the attach point of the constraint to the top of the cube
+   
+ actorB = CreateCubeActor(100) 'Creates a cube actor
+ frameB = DimMatrix(44) 'A transform matrix must be a 4x4 matrix
+ SetIdentityMatrix(frameB, 4) 'Sets frameB to a 4x4 identity matrix
+ SetMatrixTranslation(frameB, 010) 'Sets the attach point of the constraint to the top of the cube
+   
+ hinge = CreateHingeConstraint(actorA, actorB, frameA, frameB, true) 
+

+

+ Note: It is recommended to use CreateHingeConstraintEx() in most cases +

+

Related: + CreateHingeConstraint + SetIdentityMatrix + SetMatrixTranslation + SetMatrixRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createimage.html b/doc/doc_files/createimage.html new file mode 100644 index 0000000..752b401 --- /dev/null +++ b/doc/doc_files/createimage.html @@ -0,0 +1,89 @@ + + + + + + CreateImage [RCBasic Doc] + + + +

function CreateImage(w, h, byref buffer)

+

+ Returns an image created from the buffer provided +

+

Related: + CreateImageEx + LoadImage +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createimageex.html b/doc/doc_files/createimageex.html new file mode 100644 index 0000000..b8fcd4f --- /dev/null +++ b/doc/doc_files/createimageex.html @@ -0,0 +1,92 @@ + + + + + + createImageEx [RCBasic Doc] + + + +

function createImageEx(w, h, byref buffer, color)

+

+ Returns an image created from the buffer provided +

+

+ The color parameter is a color key value to apply +

+

Related: + CreateImage + LoadImage +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createlightactor.html b/doc/doc_files/createlightactor.html new file mode 100644 index 0000000..c2d62cc --- /dev/null +++ b/doc/doc_files/createlightactor.html @@ -0,0 +1,94 @@ + + + + + + CreateLightActor [RCBasic Doc] + + + +

function CreateLightActor( )

+

+ Returns a new light in the scene +

+

Related: + CreateMeshActor + CreateMeshOctreeActor + CreateCubeActor + CreateSphereActor + CreateWaterPlaneActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/creatematerial.html b/doc/doc_files/creatematerial.html new file mode 100644 index 0000000..3dcddd2 --- /dev/null +++ b/doc/doc_files/creatematerial.html @@ -0,0 +1,85 @@ + + + + + + createMaterial [RCBasic Doc] + + + +

function createMaterial()

+

+ Returns a new material +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createmesh.html b/doc/doc_files/createmesh.html new file mode 100644 index 0000000..75352c0 --- /dev/null +++ b/doc/doc_files/createmesh.html @@ -0,0 +1,85 @@ + + + + + + CreateMesh [RCBasic Doc] + + + +

function CreateMesh( )

+

+ Returns a new mesh +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createmeshactor.html b/doc/doc_files/createmeshactor.html new file mode 100644 index 0000000..2e5dd1c --- /dev/null +++ b/doc/doc_files/createmeshactor.html @@ -0,0 +1,105 @@ + + + + + + CreateAnimatedActor [RCBasic Doc] + + + +

function CreateAnimatedActor( mesh )

+

+ Returns a new animated actor composed of a mesh +

+

+ The mesh can either be created using CreateMesh() or Loaded using LoadMesh() +

+

Related: + CreateMesh + LoadMesh + LoadMeshFromAN8 +

+

+
+

+

Related: + CreateOctreeActor + CreateCubeActor + CreateSphereActor + CreateWaterPlaneActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createmeshoctreeactor.html b/doc/doc_files/createmeshoctreeactor.html new file mode 100644 index 0000000..039e00c --- /dev/null +++ b/doc/doc_files/createmeshoctreeactor.html @@ -0,0 +1,101 @@ + + + + + + CreateMeshOctreeActor [RCBasic Doc] + + + +

function CreateMeshOctreeActor( mesh )

+

+ Returns a mesh actor optimized for large objects (such as levels) +

+

Related: + CreateMesh + LoadMesh +

+

+
+

+

Related: + CreateMeshActor + CreateCubeActor + CreateSphereActor + CreateWaterPlaneActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createoctreeactor.html b/doc/doc_files/createoctreeactor.html new file mode 100644 index 0000000..bd21103 --- /dev/null +++ b/doc/doc_files/createoctreeactor.html @@ -0,0 +1,101 @@ + + + + + + CreateOctreeActor [RCBasic Doc] + + + +

function CreateOctreeActor( mesh )

+

+ Returns a mesh actor optimized for large objects (such as levels) +

+

Related: + CreateMesh + LoadMesh +

+

+
+

+

Related: + CreateAnimatedActor + CreateCubeActor + CreateSphereActor + CreateWaterActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createparticleactor.html b/doc/doc_files/createparticleactor.html new file mode 100644 index 0000000..749b9bc --- /dev/null +++ b/doc/doc_files/createparticleactor.html @@ -0,0 +1,117 @@ + + + + + + CreateParticleActor [RCBasic Doc] + + + +

function CreateParticleActor( particle_type )

+

+ Returns a new particle actor +

+

+ Possible Particle Types +

+ +

Related: + CreateMeshOctreeActor + CreateCubeActor + CreateSphereActor + CreateWaterPlaneActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createplanemesh.html b/doc/doc_files/createplanemesh.html new file mode 100644 index 0000000..1908591 --- /dev/null +++ b/doc/doc_files/createplanemesh.html @@ -0,0 +1,93 @@ + + + + + + CreatePlaneMesh [RCBasic Doc] + + + +

Function CreatePlaneMesh( w, h, tileCount_w, tileCount_h )

+

+ Creates a flat plane +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/createpointconstraint.html b/doc/doc_files/createpointconstraint.html new file mode 100644 index 0000000..042ad50 --- /dev/null +++ b/doc/doc_files/createpointconstraint.html @@ -0,0 +1,88 @@ + + + + + + createPointConstraint [RCBasic Doc] + + + +

function createPointConstraint( actorA, pxA, pyA, pzA)

+

+ A type of constraint that allows two actors (or an actor and the world) to move freely relative to each other while ensuring that one point on each body remains coincident. Essentially, it ensures that the two actors stay connected at a single point, but without restricting their relative rotations. This kind of constraint is useful when you need a connection that allows full rotation in all directions, such as a pendulum, ball joint, or even some suspension systems. +

+

Related: + CreatePointConstraintEx +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createpointconstraintex.html b/doc/doc_files/createpointconstraintex.html new file mode 100644 index 0000000..ac12bc6 --- /dev/null +++ b/doc/doc_files/createpointconstraintex.html @@ -0,0 +1,88 @@ + + + + + + createPointConstraintEx [RCBasic Doc] + + + +

function createPointConstraintEx( actorA, actorB, pxA, pyA, pzA, pxB, pyB, pzB)

+

+ A type of constraint that allows two actors (or an actor and the world) to move freely relative to each other while ensuring that one point on each body remains coincident. Essentially, it ensures that the two actors stay connected at a single point, but without restricting their relative rotations. This kind of constraint is useful when you need a connection that allows full rotation in all directions, such as a pendulum, ball joint, or even some suspension systems. +

+

Related: + CreatePointConstraint +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createslideconstraint.html b/doc/doc_files/createslideconstraint.html new file mode 100644 index 0000000..d7d6a1e --- /dev/null +++ b/doc/doc_files/createslideconstraint.html @@ -0,0 +1,102 @@ + + + + + + createSlideConstraint [RCBasic Doc] + + + +

function createSlideConstraint( actorA, frameInB_matrix, useLinearReferenceFrameA)

+

+ A type of constraint that restricts the motion between two actors (or between an actor and the world) in such a way that they can slide along a specific axis and rotate around the same axis, while limiting or allowing movement along other axes. This constraint is similar to a prismatic joint with added rotational freedom, making it useful for simulating objects like pistons, sliding doors, or rail systems. +

+

+ actorA = CreateCubeActor(100) 'Creates a cube actor
+ frameB = DimMatrix(44) 'A transform matrix must be a 4x4 matrix
+ SetIdentityMatrix(frameB, 4) 'Sets frameB to a 4x4 identity matrix
+ SetMatrixTranslation(frameB, 0500) 'Sets the attach point of the constraint to the top of the cube
+ SetMatrixRotation(frameB, 0900) 'Rotates the constraint axis by 90 degrees around y
+ slide = CreateSlideConstraint(actorA, frameB, true) 
+

+

+ Note: It is recommended to use CreateSlideConstraintEx() in most cases +

+

Related: + CreateSlideConstraintEx + SetIdentityMatrix + SetMatrixTranslation + SetMatrixRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createslideconstraintex.html b/doc/doc_files/createslideconstraintex.html new file mode 100644 index 0000000..c48ac52 --- /dev/null +++ b/doc/doc_files/createslideconstraintex.html @@ -0,0 +1,108 @@ + + + + + + createSlideConstraintEx [RCBasic Doc] + + + +

function createSlideConstraintEx( actorA, actorB, frameInA_matrix, frameInB_matrix, useLinearReferenceFrameA)

+

+ A type of constraint that restricts the motion between two actors (or between an actor and the world) in such a way that they can slide along a specific axis and rotate around the same axis, while limiting or allowing movement along other axes. This constraint is similar to a prismatic joint with added rotational freedom, making it useful for simulating objects like pistons, sliding doors, or rail systems. +

+

+ actorA = CreateCubeActor(100) 'Creates a cube actor
+ frameA = DimMatrix(44) 'A transform matrix must be a 4x4 matrix
+ SetIdentityMatrix(frameA, 4) 'Sets frameB to a 4x4 identity matrix
+ SetMatrixTranslation(frameA, 000) 'Sets the attach point of the constraint to center of the cube
+ SetMatrixRotation(frameA, 0900) 'Rotates the constraint axis by 90 degrees around y
+   
+ actorB = CreateCubeActor(100) 'Creates a cube actor
+ frameB = DimMatrix(44) 'A transform matrix must be a 4x4 matrix
+ SetIdentityMatrix(frameB, 4) 'Sets frameB to a 4x4 identity matrix
+ SetMatrixTranslation(frameB, 0500) 'Sets the attach point of the constraint to the top of the cube
+ SetMatrixRotation(frameB, 0900) 'Rotates the constraint axis by 90 degrees around y
+ slide = CreateSlideConstraintEx(actorA, actorB, frameA, frameB, true) 
+

+

+ Note: It is recommended to use CreateSlideConstraintEx() in most cases +

+

Related: + CreateSlideConstraint + SetIdentityMatrix + SetMatrixTranslation + SetMatrixRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createsound.html b/doc/doc_files/createsound.html new file mode 100644 index 0000000..3d91bb5 --- /dev/null +++ b/doc/doc_files/createsound.html @@ -0,0 +1,85 @@ + + + + + + CreateSound [RCBasic Doc] + + + +

function CreateSound(byref buffer, buffer_size, vol)

+

+ Returns a new sound from a buffer of raw audio data +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createsphereactor.html b/doc/doc_files/createsphereactor.html new file mode 100644 index 0000000..13a5508 --- /dev/null +++ b/doc/doc_files/createsphereactor.html @@ -0,0 +1,94 @@ + + + + + + CreateSphereActor [RCBasic Doc] + + + +

function CreateSphereActor( radius )

+

+ Returns an actor composed of a sphere mesh +

+

Related: + CreateAnimatedActor + CreateOctreeActor + CreateBillboardActor + CreateWaterActor + CreateLightActor + CreateCubeActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createsprite.html b/doc/doc_files/createsprite.html new file mode 100644 index 0000000..7ad0646 --- /dev/null +++ b/doc/doc_files/createsprite.html @@ -0,0 +1,85 @@ + + + + + + CreateSprite [RCBasic Doc] + + + +

function CreateSprite( img )

+

+ Returns new sprite +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createspriteanimation.html b/doc/doc_files/createspriteanimation.html new file mode 100644 index 0000000..d3f2703 --- /dev/null +++ b/doc/doc_files/createspriteanimation.html @@ -0,0 +1,93 @@ + + + + + + CreateSpriteAnimation [RCBasic Doc] + + + +

Function CreateSpriteAnimation(sprite, anim_length, speed)

+

+ Returns a new sprite animation id +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/createstack_n.html b/doc/doc_files/createstack_n.html new file mode 100644 index 0000000..7733e37 --- /dev/null +++ b/doc/doc_files/createstack_n.html @@ -0,0 +1,85 @@ + + + + + + CreateStack_N [RCBasic Doc] + + + +

function CreateStack_N( )

+

+ Returns a new number stack +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createstack_s.html b/doc/doc_files/createstack_s.html new file mode 100644 index 0000000..2b31282 --- /dev/null +++ b/doc/doc_files/createstack_s.html @@ -0,0 +1,85 @@ + + + + + + CreateStack_S [RCBasic Doc] + + + +

function CreateStack_S()

+

+ Returns a new string stack +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createterrainactor.html b/doc/doc_files/createterrainactor.html new file mode 100644 index 0000000..9eb6bae --- /dev/null +++ b/doc/doc_files/createterrainactor.html @@ -0,0 +1,97 @@ + + + + + + CreateTerrainActor [RCBasic Doc] + + + +

function CreateTerrainActor( hmap_file$ )

+

+ Returns terrain generated from a height map +

+

+ Note: Height Maps can be any supported image format +

+

Related: + CreateAnimatedActor + CreateOctreeActor + CreateSphereActor + CreateWaterActor + CreateLightActor + CreateCubeActor + CreateBillboardActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createtilemap.html b/doc/doc_files/createtilemap.html new file mode 100644 index 0000000..1005612 --- /dev/null +++ b/doc/doc_files/createtilemap.html @@ -0,0 +1,102 @@ + + + + + + CreateTileMap [RCBasic Doc] + + + +

Function CreateTileMap(tileset, widthInTiles, heightInTiles)

+

+ Returns a new tile map. +

+

+ Parameters +

+ +

Related: + CreateTileSet +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createtileset.html b/doc/doc_files/createtileset.html new file mode 100644 index 0000000..9bebe13 --- /dev/null +++ b/doc/doc_files/createtileset.html @@ -0,0 +1,102 @@ + + + + + + CreateTileSet [RCBasic Doc] + + + +

Function CreateTileSet(img_id, tile_w, tile_h)

+

+ Return a new Tileset +

+

+ Parameters: +

+ +

Related: + CreateTileMap +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createwateractor.html b/doc/doc_files/createwateractor.html new file mode 100644 index 0000000..9d2febd --- /dev/null +++ b/doc/doc_files/createwateractor.html @@ -0,0 +1,94 @@ + + + + + + CreateWaterActor [RCBasic Doc] + + + +

function CreateWaterActor( mesh, waveHeight, waveSpeed, waveLength )

+

+ Creates an actor with water properties set on a base mesh +

+

Related: + CreateAnimatedActor + CreateOctreeActor + CreateSphereActor + CreateCubeActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/createwaterplaneactor.html b/doc/doc_files/createwaterplaneactor.html new file mode 100644 index 0000000..a6141b1 --- /dev/null +++ b/doc/doc_files/createwaterplaneactor.html @@ -0,0 +1,94 @@ + + + + + + CreateWaterPlaneActor [RCBasic Doc] + + + +

function CreateWaterPlaneActor( w, h )

+

+ Returns a water plane actor +

+

Related: + CreateMeshActor + CreateMeshOctreeActor + CreateCubeActor + CreateSphereActor + CreateLightActor + CreateBillboardActor + CreateTerrainActor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/cubematrix.html b/doc/doc_files/cubematrix.html new file mode 100644 index 0000000..30e13f6 --- /dev/null +++ b/doc/doc_files/cubematrix.html @@ -0,0 +1,85 @@ + + + + + + CubeMatrix [RCBasic Doc] + + + +

function CubeMatrix(mA, mB)

+

+ Returns matrix mA raised to the 3rd power +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/date.html b/doc/doc_files/date.html new file mode 100644 index 0000000..050b077 --- /dev/null +++ b/doc/doc_files/date.html @@ -0,0 +1,85 @@ + + + + + + Date$ [RCBasic Doc] + + + +

function Date$()

+

+ Returns the date in "MM-DD-YYYY" format +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/degrees.html b/doc/doc_files/degrees.html new file mode 100644 index 0000000..eff9d28 --- /dev/null +++ b/doc/doc_files/degrees.html @@ -0,0 +1,85 @@ + + + + + + Degrees [RCBasic Doc] + + + +

function Degrees(r)

+

+ Returns angle converted from radians to degrees +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deleteactor.html b/doc/doc_files/deleteactor.html new file mode 100644 index 0000000..667cc04 --- /dev/null +++ b/doc/doc_files/deleteactor.html @@ -0,0 +1,85 @@ + + + + + + DeleteActor [RCBasic Doc] + + + +

sub DeleteActor( actor )

+

+ Removes an actor from the scene and frees its memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deleteactoranimation.html b/doc/doc_files/deleteactoranimation.html new file mode 100644 index 0000000..1dae07f --- /dev/null +++ b/doc/doc_files/deleteactoranimation.html @@ -0,0 +1,85 @@ + + + + + + DeleteActorAnimation [RCBasic Doc] + + + +

sub DeleteActorAnimation(actor, animation)

+

+ Deletes an actor's animation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deleteconstraint.html b/doc/doc_files/deleteconstraint.html new file mode 100644 index 0000000..5c15dcc --- /dev/null +++ b/doc/doc_files/deleteconstraint.html @@ -0,0 +1,85 @@ + + + + + + deleteConstraint [RCBasic Doc] + + + +

sub deleteConstraint( constraint_id)

+

+ Removes a constraint +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletefont.html b/doc/doc_files/deletefont.html new file mode 100644 index 0000000..c9e1bac --- /dev/null +++ b/doc/doc_files/deletefont.html @@ -0,0 +1,85 @@ + + + + + + DeleteFont [RCBasic Doc] + + + +

sub DeleteFont(font_id)

+

+ Frees a font from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deleteimage.html b/doc/doc_files/deleteimage.html new file mode 100644 index 0000000..7b1769a --- /dev/null +++ b/doc/doc_files/deleteimage.html @@ -0,0 +1,85 @@ + + + + + + DeleteImage [RCBasic Doc] + + + +

sub DeleteImage(img)

+

+ Removes an image from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletematerial.html b/doc/doc_files/deletematerial.html new file mode 100644 index 0000000..1c0474a --- /dev/null +++ b/doc/doc_files/deletematerial.html @@ -0,0 +1,85 @@ + + + + + + deleteMaterial [RCBasic Doc] + + + +

sub deleteMaterial( material_id)

+

+ Removes a material from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletematrix.html b/doc/doc_files/deletematrix.html new file mode 100644 index 0000000..2fc40b2 --- /dev/null +++ b/doc/doc_files/deletematrix.html @@ -0,0 +1,85 @@ + + + + + + DeleteMatrix [RCBasic Doc] + + + +

Sub DeleteMatrix(mA)

+

+ Frees a matrix from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletematrixcolumns.html b/doc/doc_files/deletematrixcolumns.html new file mode 100644 index 0000000..0d4db2c --- /dev/null +++ b/doc/doc_files/deletematrixcolumns.html @@ -0,0 +1,91 @@ + + + + + + DeleteMatrixColumns [RCBasic Doc] + + + +

function DeleteMatrixColumns(mA, c, num_cols)

+

+ Removes the specified columns from a matrix +

+

+ Returns false if column are outside matrix +

+

Related: + DeleteMatrixRows +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletematrixrows.html b/doc/doc_files/deletematrixrows.html new file mode 100644 index 0000000..e418ad3 --- /dev/null +++ b/doc/doc_files/deletematrixrows.html @@ -0,0 +1,91 @@ + + + + + + DeleteMatrixRows [RCBasic Doc] + + + +

function DeleteMatrixRows(mA, r, num_rows)

+

+ Removes the specified rows from a matrix +

+

+ Returns false if rows are outside matrix +

+

Related: + DeleteMatrixColumns +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletemesh.html b/doc/doc_files/deletemesh.html new file mode 100644 index 0000000..53ab5ad --- /dev/null +++ b/doc/doc_files/deletemesh.html @@ -0,0 +1,85 @@ + + + + + + DeleteMesh [RCBasic Doc] + + + +

sub DeleteMesh( mesh )

+

+ Removes a mesh from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletemusic.html b/doc/doc_files/deletemusic.html new file mode 100644 index 0000000..cc7e2c1 --- /dev/null +++ b/doc/doc_files/deletemusic.html @@ -0,0 +1,85 @@ + + + + + + DeleteMusic [RCBasic Doc] + + + +

sub DeleteMusic()

+

+ Removes the current music track from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletesound.html b/doc/doc_files/deletesound.html new file mode 100644 index 0000000..0bfb08e --- /dev/null +++ b/doc/doc_files/deletesound.html @@ -0,0 +1,85 @@ + + + + + + DeleteSound [RCBasic Doc] + + + +

sub DeleteSound(snd)

+

+ Removes a sound from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletesprite.html b/doc/doc_files/deletesprite.html new file mode 100644 index 0000000..6260ac7 --- /dev/null +++ b/doc/doc_files/deletesprite.html @@ -0,0 +1,85 @@ + + + + + + DeleteSprite [RCBasic Doc] + + + +

Sub DeleteSprite( sprite )

+

+ Removes a sprite from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletespriteanimation.html b/doc/doc_files/deletespriteanimation.html new file mode 100644 index 0000000..922a1e6 --- /dev/null +++ b/doc/doc_files/deletespriteanimation.html @@ -0,0 +1,88 @@ + + + + + + DeleteSpriteAnimation [RCBasic Doc] + + + +

Sub DeleteSpriteAnimation(sprite, animation)

+

+ Delete's a sprite's animation +

+

Related: + CreateSpriteAnimation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletestack_n.html b/doc/doc_files/deletestack_n.html new file mode 100644 index 0000000..d38b5c5 --- /dev/null +++ b/doc/doc_files/deletestack_n.html @@ -0,0 +1,85 @@ + + + + + + DeleteStack_N [RCBasic Doc] + + + +

sub DeleteStack_N( num_stack )

+

+ Removes a number stack from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletestack_s.html b/doc/doc_files/deletestack_s.html new file mode 100644 index 0000000..02a9598 --- /dev/null +++ b/doc/doc_files/deletestack_s.html @@ -0,0 +1,85 @@ + + + + + + DeleteStack_S [RCBasic Doc] + + + +

sub DeleteStack_S( str_stack )

+

+ Removes a string stack from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/deletevideo.html b/doc/doc_files/deletevideo.html new file mode 100644 index 0000000..b5281df --- /dev/null +++ b/doc/doc_files/deletevideo.html @@ -0,0 +1,85 @@ + + + + + + DeleteVideo [RCBasic Doc] + + + +

sub DeleteVideo()

+

+ Removes the current video track from memory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/determinant.html b/doc/doc_files/determinant.html new file mode 100644 index 0000000..fdf079a --- /dev/null +++ b/doc/doc_files/determinant.html @@ -0,0 +1,85 @@ + + + + + + Determinant [RCBasic Doc] + + + +

function Determinant(mA)

+

+ Returns the determinant of matrix mA +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/dimmatrix.html b/doc/doc_files/dimmatrix.html new file mode 100644 index 0000000..5c27b67 --- /dev/null +++ b/doc/doc_files/dimmatrix.html @@ -0,0 +1,85 @@ + + + + + + DimMatrix [RCBasic Doc] + + + +

function DimMatrix(m_rows, m_cols)

+

+ Returns a new matrix +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/dir.html b/doc/doc_files/dir.html new file mode 100644 index 0000000..1a0d7f2 --- /dev/null +++ b/doc/doc_files/dir.html @@ -0,0 +1,85 @@ + + + + + + Dir$ [RCBasic Doc] + + + +

function Dir$()

+

+ Returns the current working directory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/direxists.html b/doc/doc_files/direxists.html new file mode 100644 index 0000000..353364b --- /dev/null +++ b/doc/doc_files/direxists.html @@ -0,0 +1,85 @@ + + + + + + DirExists [RCBasic Doc] + + + +

function DirExists(p$)

+

+ Returns true if a directory exists and false if not +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/dirfirst.html b/doc/doc_files/dirfirst.html new file mode 100644 index 0000000..f73f027 --- /dev/null +++ b/doc/doc_files/dirfirst.html @@ -0,0 +1,85 @@ + + + + + + DirFirst$ [RCBasic Doc] + + + +

function DirFirst$()

+

+ Resets the directory list poll and returns the first item in the current working directory +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/dirnext.html b/doc/doc_files/dirnext.html new file mode 100644 index 0000000..29af91c --- /dev/null +++ b/doc/doc_files/dirnext.html @@ -0,0 +1,88 @@ + + + + + + DirNext$ [RCBasic Doc] + + + +

function DirNext$()

+

+ Returns the next item in the directory poll +

+

Related: + DirFirst$ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/distance2d.html b/doc/doc_files/distance2d.html new file mode 100644 index 0000000..d441e5f --- /dev/null +++ b/doc/doc_files/distance2d.html @@ -0,0 +1,85 @@ + + + + + + Distance2D [RCBasic Doc] + + + +

Function Distance2D(x1, y1, x2, y2)

+

+ Returns the distance between 2 points in 2d space +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/distance3d.html b/doc/doc_files/distance3d.html new file mode 100644 index 0000000..78f8472 --- /dev/null +++ b/doc/doc_files/distance3d.html @@ -0,0 +1,85 @@ + + + + + + Distance3D [RCBasic Doc] + + + +

Function Distance3D(x1, y1, z1, x2, y2, z2)

+

+ Returns the distance between 2 points in 3d space +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage.html b/doc/doc_files/drawimage.html new file mode 100644 index 0000000..87d44e5 --- /dev/null +++ b/doc/doc_files/drawimage.html @@ -0,0 +1,85 @@ + + + + + + DrawImage [RCBasic Doc] + + + +

sub DrawImage(img, x, y)

+

+ Draws an image on the active canvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_blit.html b/doc/doc_files/drawimage_blit.html new file mode 100644 index 0000000..af501ce --- /dev/null +++ b/doc/doc_files/drawimage_blit.html @@ -0,0 +1,85 @@ + + + + + + DrawImage_Blit [RCBasic Doc] + + + +

sub DrawImage_Blit(img, x, y, src_x, src_y, src_w, src_h)

+

+ Draws a portion of an image to the current canvas. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_blitex.html b/doc/doc_files/drawimage_blitex.html new file mode 100644 index 0000000..f4261f6 --- /dev/null +++ b/doc/doc_files/drawimage_blitex.html @@ -0,0 +1,88 @@ + + + + + + DrawImage_BlitEx [RCBasic Doc] + + + +

sub DrawImage_BlitEx(slot, x, y, w, h, src_x, src_y, src_w, src_h)

+

+ Draws a portion of an image to the current canvas scaled to a given width and height. +

+

Related: + DrawImage_Blit +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_flip.html b/doc/doc_files/drawimage_flip.html new file mode 100644 index 0000000..ee59cf4 --- /dev/null +++ b/doc/doc_files/drawimage_flip.html @@ -0,0 +1,91 @@ + + + + + + DrawImage_Flip [RCBasic Doc] + + + +

sub DrawImage_Flip(slot, x, y, h, v)

+

+ Draws an image flipped horizontally or vertically. +

+

+ Note: h and v are boolean values +

+

Related: + DrawImage_FlipEx +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_flipex.html b/doc/doc_files/drawimage_flipex.html new file mode 100644 index 0000000..f812d49 --- /dev/null +++ b/doc/doc_files/drawimage_flipex.html @@ -0,0 +1,91 @@ + + + + + + DrawImage_FlipEx [RCBasic Doc] + + + +

sub DrawImage_FlipEx(slot, x, y, src_x, src_y, src_w, src_h, h, v)

+

+ Draws a portion of an image flipped horizontally or vertically. +

+

+ Note: h and v are boolean values +

+

Related: + DrawImage_Flip +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_rotate.html b/doc/doc_files/drawimage_rotate.html new file mode 100644 index 0000000..1ef106c --- /dev/null +++ b/doc/doc_files/drawimage_rotate.html @@ -0,0 +1,85 @@ + + + + + + DrawImage_Rotate [RCBasic Doc] + + + +

sub DrawImage_Rotate(slot, x, y, angle)

+

+ Draws an image to the current canvas rotated by a given angle. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_rotateex.html b/doc/doc_files/drawimage_rotateex.html new file mode 100644 index 0000000..bd376f9 --- /dev/null +++ b/doc/doc_files/drawimage_rotateex.html @@ -0,0 +1,85 @@ + + + + + + DrawImage_RotateEx [RCBasic Doc] + + + +

sub DrawImage_RotateEx(slot, x, y, src_x, src_y, src_w, src_h, angle)

+

+ Draws a portion of an image to the current canvas rotated by a given angle. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_rotozoom.html b/doc/doc_files/drawimage_rotozoom.html new file mode 100644 index 0000000..0c6b256 --- /dev/null +++ b/doc/doc_files/drawimage_rotozoom.html @@ -0,0 +1,85 @@ + + + + + + DrawImage_Rotozoom [RCBasic Doc] + + + +

sub DrawImage_Rotozoom(slot, x, y, angle, zx, zy)

+

+ Draws an image to the current canvas rotated and scaled +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_rotozoomex.html b/doc/doc_files/drawimage_rotozoomex.html new file mode 100644 index 0000000..d3f1a53 --- /dev/null +++ b/doc/doc_files/drawimage_rotozoomex.html @@ -0,0 +1,85 @@ + + + + + + DrawImage_RotozoomEx [RCBasic Doc] + + + +

sub DrawImage_RotozoomEx(slot, x, y, src_x, src_y, src_w, src_h, angle, zx, zy)

+

+ Draws a portion of an image to the current canvas rotated and scaled +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_zoom.html b/doc/doc_files/drawimage_zoom.html new file mode 100644 index 0000000..83f1880 --- /dev/null +++ b/doc/doc_files/drawimage_zoom.html @@ -0,0 +1,88 @@ + + + + + + DrawImage_Zoom [RCBasic Doc] + + + +

sub DrawImage_Zoom(slot, x, y, zx, zy)

+

+ Draws an image to the current canvas scaled by a given factor +

+

Related: + DrawImage_ZoomEx +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawimage_zoomex.html b/doc/doc_files/drawimage_zoomex.html new file mode 100644 index 0000000..c9749c0 --- /dev/null +++ b/doc/doc_files/drawimage_zoomex.html @@ -0,0 +1,88 @@ + + + + + + DrawImage_ZoomEx [RCBasic Doc] + + + +

sub DrawImage_ZoomEx(slot, x, y, src_x, src_y, src_w, src_h, zx, zy)

+

+ Draws a portion of an Image to the current canvas scaled by a given factor +

+

Related: + DrawImage_Zoom +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawtext.html b/doc/doc_files/drawtext.html new file mode 100644 index 0000000..507e862 --- /dev/null +++ b/doc/doc_files/drawtext.html @@ -0,0 +1,85 @@ + + + + + + DrawText [RCBasic Doc] + + + +

sub DrawText(txt$, x, y)

+

+ Draws text to the current canvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/drawtilemap.html b/doc/doc_files/drawtilemap.html new file mode 100644 index 0000000..8453b98 --- /dev/null +++ b/doc/doc_files/drawtilemap.html @@ -0,0 +1,105 @@ + + + + + + DrawTileMap [RCBasic Doc] + + + +

Sub DrawTileMap(tilemap, x, y, w, h, offset_x, offset_y)

+

+ Draws a tile map +

+

+ Note: Can only be drawn on a regular 2D canvas +

+

+ Parameters: +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/easter.html b/doc/doc_files/easter.html new file mode 100644 index 0000000..7f9c541 --- /dev/null +++ b/doc/doc_files/easter.html @@ -0,0 +1,85 @@ + + + + + + Easter$ [RCBasic Doc] + + + +

function Easter$(year)

+

+ Returns easter of the year passed to it. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/ellipse.html b/doc/doc_files/ellipse.html new file mode 100644 index 0000000..3141bad --- /dev/null +++ b/doc/doc_files/ellipse.html @@ -0,0 +1,85 @@ + + + + + + Ellipse [RCBasic Doc] + + + +

sub Ellipse(x,y,rx,ry)

+

+ Draws an ellipse on the current canvas. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/ellipsefill.html b/doc/doc_files/ellipsefill.html new file mode 100644 index 0000000..ccdaa69 --- /dev/null +++ b/doc/doc_files/ellipsefill.html @@ -0,0 +1,85 @@ + + + + + + EllipseFill [RCBasic Doc] + + + +

sub EllipseFill(x,y,rx,ry)

+

+ Draws a filled ellipse on the current canvas. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/env.html b/doc/doc_files/env.html new file mode 100644 index 0000000..7614cda --- /dev/null +++ b/doc/doc_files/env.html @@ -0,0 +1,88 @@ + + + + + + Env$ [RCBasic Doc] + + + +

function Env$(v$)

+

+ Returns the value of the environment variable passed to it. +

+

Related: + SetEnv +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/eof.html b/doc/doc_files/eof.html new file mode 100644 index 0000000..f3c58dd --- /dev/null +++ b/doc/doc_files/eof.html @@ -0,0 +1,85 @@ + + + + + + EOF [RCBasic Doc] + + + +

function EOF(stream)

+

+ Returns true when end of file is reached +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/escape_char.html b/doc/doc_files/escape_char.html new file mode 100644 index 0000000..3da6af2 --- /dev/null +++ b/doc/doc_files/escape_char.html @@ -0,0 +1,125 @@ + + + + + + RC BASIC Escape Characters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ESCAPE CHARACTERDESCRIPTION
\\INSERTS A "\" INTO A STRING
\nINSERTS A NEW-LINE INTO A STRING
\bINSERTS A BACKSPACE INTO A STRING
\"   |   \qINSERTS A QUOTATION MARK INTO A STRING
\tINSERTS A TAB INTO A STRING
\0INSERTS A NULL CHARACTER INTO A STRING
\aINSERTS AN ALERT BELL INTO A STRING
\vINSERTS A VERTICAL TAB INTO A STRING
\fINSERTS A FORM FEED INTO A STRING
\rINSERTS A CARRIAGE RETURN
+ + diff --git a/doc/doc_files/evaljs.html b/doc/doc_files/evaljs.html new file mode 100644 index 0000000..087846d --- /dev/null +++ b/doc/doc_files/evaljs.html @@ -0,0 +1,91 @@ + + + + + + EvalJS$ [RCBasic Doc] + + + +

Function EvalJS$(js_code$) 'Only useable in Emscripten

+

+ Runs javascript code +

+

+ Returns the return value of the javascript code +

+

+ NOTE: ONLY WORKS IN WEB PORT +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/exp.html b/doc/doc_files/exp.html new file mode 100644 index 0000000..4c4562a --- /dev/null +++ b/doc/doc_files/exp.html @@ -0,0 +1,85 @@ + + + + + + Exp [RCBasic Doc] + + + +

function Exp(n)

+

+ Returns the exponential function of a number. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fademusicin.html b/doc/doc_files/fademusicin.html new file mode 100644 index 0000000..0627e96 --- /dev/null +++ b/doc/doc_files/fademusicin.html @@ -0,0 +1,85 @@ + + + + + + FadeMusicIn [RCBasic Doc] + + + +

sub FadeMusicIn(fade_time, loops)

+

+ Fades music in +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fademusicout.html b/doc/doc_files/fademusicout.html new file mode 100644 index 0000000..b7bb9f6 --- /dev/null +++ b/doc/doc_files/fademusicout.html @@ -0,0 +1,85 @@ + + + + + + FadeMusicOut [RCBasic Doc] + + + +

sub FadeMusicOut(fade_time)

+

+ Fades music out +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fileexists.html b/doc/doc_files/fileexists.html new file mode 100644 index 0000000..f4d3e7d --- /dev/null +++ b/doc/doc_files/fileexists.html @@ -0,0 +1,85 @@ + + + + + + FileExists [RCBasic Doc] + + + +

function FileExists(fileName$)

+

+ Returns true if a file exists +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/filelength.html b/doc/doc_files/filelength.html new file mode 100644 index 0000000..996647e --- /dev/null +++ b/doc/doc_files/filelength.html @@ -0,0 +1,85 @@ + + + + + + FileLength [RCBasic Doc] + + + +

function FileLength(fileName$)

+

+ Returns the size of a file in bytes. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fillmatrix.html b/doc/doc_files/fillmatrix.html new file mode 100644 index 0000000..c1060de --- /dev/null +++ b/doc/doc_files/fillmatrix.html @@ -0,0 +1,85 @@ + + + + + + FillMatrix [RCBasic Doc] + + + +

sub FillMatrix(mA, v)

+

+ Fills matrix with the given value +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fillmatrixcolumns.html b/doc/doc_files/fillmatrixcolumns.html new file mode 100644 index 0000000..0ec59fd --- /dev/null +++ b/doc/doc_files/fillmatrixcolumns.html @@ -0,0 +1,85 @@ + + + + + + FillMatrixColumns [RCBasic Doc] + + + +

function FillMatrixColumns(mA, c, num_cols, v)

+

+ Fills matrix columns with the given value starting at the given column +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fillmatrixrows.html b/doc/doc_files/fillmatrixrows.html new file mode 100644 index 0000000..24d7955 --- /dev/null +++ b/doc/doc_files/fillmatrixrows.html @@ -0,0 +1,85 @@ + + + + + + FillMatrixRows [RCBasic Doc] + + + +

function FillMatrixRows(mA, r, num_rows, v)

+

+ Fills matrix rows with the given value starting at the given row +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/filltile.html b/doc/doc_files/filltile.html new file mode 100644 index 0000000..f4880e2 --- /dev/null +++ b/doc/doc_files/filltile.html @@ -0,0 +1,85 @@ + + + + + + FillTile [RCBasic Doc] + + + +

Sub FillTile(tilemap, tile, x, y, widthInTiles, heightInTiles)

+

+ Fills an area of a tile map with a specified tile +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/flashwindow.html b/doc/doc_files/flashwindow.html new file mode 100644 index 0000000..fd01307 --- /dev/null +++ b/doc/doc_files/flashwindow.html @@ -0,0 +1,102 @@ + + + + + + FlashWindow [RCBasic Doc] + + + +

function FlashWindow( flag )

+

+ Flashes a window to specify an alert +

+

+ Returns 0 on success and a negative number on failure +

+

+ Possible flag values: +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/floodfill.html b/doc/doc_files/floodfill.html new file mode 100644 index 0000000..cc5ff5d --- /dev/null +++ b/doc/doc_files/floodfill.html @@ -0,0 +1,85 @@ + + + + + + FloodFill [RCBasic Doc] + + + +

sub FloodFill(x,y)

+

+ Fills a closed shape in with the current draw color +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fontexists.html b/doc/doc_files/fontexists.html new file mode 100644 index 0000000..48fc77e --- /dev/null +++ b/doc/doc_files/fontexists.html @@ -0,0 +1,85 @@ + + + + + + FontExists [RCBasic Doc] + + + +

Function FontExists(fnt_id)

+

+ Returns True if the specified font id is associated with a loaded font +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fprint.html b/doc/doc_files/fprint.html new file mode 100644 index 0000000..5dd1339 --- /dev/null +++ b/doc/doc_files/fprint.html @@ -0,0 +1,85 @@ + + + + + + Fprint [RCBasic Doc] + + + +

sub Fprint(txt$)

+

+ Outputs text to the console +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/fps.html b/doc/doc_files/fps.html new file mode 100644 index 0000000..3bfd415 --- /dev/null +++ b/doc/doc_files/fps.html @@ -0,0 +1,85 @@ + + + + + + FPS [RCBasic Doc] + + + +

function FPS()

+

+ Returns the number of frames being rendered per second +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/frac.html b/doc/doc_files/frac.html new file mode 100644 index 0000000..3e56486 --- /dev/null +++ b/doc/doc_files/frac.html @@ -0,0 +1,85 @@ + + + + + + Frac [RCBasic Doc] + + + +

function Frac(n)

+

+ Returns the decimal portion of a number. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/func_sub.html b/doc/doc_files/func_sub.html new file mode 100644 index 0000000..ab373f6 --- /dev/null +++ b/doc/doc_files/func_sub.html @@ -0,0 +1,229 @@ + + + + + + RCBasic Functions and Sub Routines [RCBasic Doc] + + + +

FUNCTIONS AND SUB ROUTINES

+

+ Functions and Sub Routines are blocks of code that can be executed any where in your program. +

+

+ The biggest difference between Functions and Sub Routines is that Functions can return a value. Basically Functions and be used as a string or number value in an expression. RCBASIC has several built-in functions to perform different task such as compute square roots, get the time, etc. Functions are either numbers or strings just like variables and arrays. As such, functions can be used anywhere a variable or array can be used. Look at the following: +

+

+ Dim x[2] 
+ x[0] = Sqrt(25) 
+ x[1] = Sqrt(36) 
+ Print "THE SQUARE ROOT OF 25 IS "; x[0] 
+ Print "THE SQUARE ROOT OF 36 IS "; x[1] 
+

+

+ The above code creates a number array called X with 2 elements in it. It stores the square root of 25 in the first index and stores the square root of 36 in the second index. It then outputs both values to the console. The output should look like this: +

+

+ THE SQUARE ROOT OF 25 IS 5 THE SQUARE ROOT OF 36 IS 6 +

+

+ String functions can be used in a string expression just like number functions can be used in a number expression. Look at the following code: +

+

+ B$ = Mid$("HELLO WORLD"02) 
+ Print "THE FIRST TWO CHARACTERS IN HELLO WORLD ARE ";B$ 
+

+

+ The above code creates a string variable called B and stores 2 characters starting from position 0 in the string HELLO WORLD. It then outputs the value to the console. The output should look like the following: +

+

+ THE FIRST TWO CHARACTERS IN HELLO WORLD ARE HE +

+

+ Sub Routines can execute code in other parts of your program just like a function. However Sub Routines cannot return values and cannot be used in expressions. So why would you want to use a Sub Routine over a function? Well Sub Routines have less over head since it does not have to internally push a value onto the stack like a function does. So in cases where you do not need to return a value you should use a Sub Routine. RC BASIC has several built-in Sub Routines to perform task where a return value is not necessary. Look at the following: +

+

+ FPrint("test") 
+

+

+ FPrint is a Sub Routine that outputs text to the console. Since FPrint doesn't perform calculations of any kind it did not need to be implemented as a Function. +

+

+ In addition to the built-in Functions and Sub Routines RCBASIC also allows programmers to build there own Functions and Sub Routines. You do this using the FUNCTION or SUB keywords. +

+

+ Function  MyFunc(a, b) 
+    c = a + b 
+    Return c 
+ End Function 
+

+

+ The above code creates a function called MyFunc which takes in two arguments: a and b. To use this function you would call it like this: +

+

+ MyFunc(34) 
+

+

+ The code above will pass 3 and 4 to the variables A and B in MYFUNC respectively. The function creates a variable called C and sets it equal to the sum of 3 + 4. It then returns C. So the function equals 7. Since this is a number function you could store the value in a number variable or use PRINT to output the value to the console. +

+

+ To make a string function you simply add $ to the end of the function name when you create it just like with variables and arrays. +

+

+ Function MyString$ ( G$ ) 
+    Return "YOU ENTERED " + G$ 
+ End Function 
+   
+ Print MyString("SOMETHING") 
+

+

+ The above code should output the following: +

+

+ YOU ENTERED SOMETHING +

+

+ Functions can also return a UDT(User Defined Type) as well. Look at the following: +

+

+ Type test_type 
+    Dim a$ 
+    Dim b 
+ End Type 
+   
+ Function test(a$, b) As test_type 
+    Dim ret_val As test_type 
+    ret_val.a = a 
+    ret_val.b = b 
+    Return ret_val 
+ End Function 
+   
+ Dim myVar as test_type 
+   
+ myVar = test("hello"42) 
+

+

+ You can also have a UDT as a parameter in a function: +

+

+ Function 2(as test_type, j) 
+    Return 0 
+ End Function 
+

+

+ Sub Routines are created using the SUB keyword. Look at the following: +

+

+ Sub MySub ( ) 
+    For i = 1 To 5 
+       Print i 
+    Next 
+ End Sub 
+   
+ MySub ( ) 
+

+

+ The code above creates a Sub Routine called MYSUB which uses a FOR loop to output the numbers 1 to 5 to the console. +

+

+ Functions and Sub Routines pass variables by value by default. Look at the following: +

+

+ Sub  MySub ( a ) 
+    a = 5 
+ End Sub 
+   
+ n = 0 
+   
+ MySub ( n ) 
+ Print n 
+

+

+ In the above code the Sub Routine has a variable called A as an argument. It sets A equal to 5. Then we create a variable called N outside of the Sub Routine and set N equal to 0. N is passed as an argument to MYSUB. Then N is output to the console. This will output 0 to the console. That is because only the value of N is passed to MYSUB so MYSUB is not able to change N itself. In order to allow MYSUB to change N we must have MYSUB accept an argument by Reference. To do this we will use the BYREF keyword. +

+

+ Sub MySub ( ByRef a ) 
+    a = 5 
+ End Sub 
+   
+ n = 0 
+   
+ MySub ( n ) 
+ Print n 
+

+

+ The above code is the same as the previous example except that now we use the BYREF keyword to change a to a reference rather than a value. This means the when we pass the variable N to MYSUB, instead of the value stored in N being used as A, whatever we do to A will be done to N directly. This example will output 5 to the console. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getaccel.html b/doc/doc_files/getaccel.html new file mode 100644 index 0000000..2e4a0a1 --- /dev/null +++ b/doc/doc_files/getaccel.html @@ -0,0 +1,85 @@ + + + + + + GetAccel [RCBasic Doc] + + + +

sub GetAccel(accel_num, ByRef x, ByRef y, ByRef z)

+

+ Gets the axis values for an accelerometer. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactoraabb.html b/doc/doc_files/getactoraabb.html new file mode 100644 index 0000000..7619b54 --- /dev/null +++ b/doc/doc_files/getactoraabb.html @@ -0,0 +1,85 @@ + + + + + + getActorAABB [RCBasic Doc] + + + +

sub getActorAABB( actor, ByRef min_x, ByRef min_y, ByRef min_z, ByRef max_x, ByRef max_y, ByRef max_z)

+

+ Gets the bounding box for an actor. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorangulardamping.html b/doc/doc_files/getactorangulardamping.html new file mode 100644 index 0000000..cff2b90 --- /dev/null +++ b/doc/doc_files/getactorangulardamping.html @@ -0,0 +1,90 @@ + + + + + + GetActorAngularDamping [RCBasic Doc] + + + +

function GetActorAngularDamping( actor)

+

+ Returns the amount of angular damping set on the actor +

+

Related: + SetActorDamping + ApplyActorDamping + GetActorLinearDamping +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorangularfactor.html b/doc/doc_files/getactorangularfactor.html new file mode 100644 index 0000000..759e536 --- /dev/null +++ b/doc/doc_files/getactorangularfactor.html @@ -0,0 +1,90 @@ + + + + + + getActorAngularFactor [RCBasic Doc] + + + +

sub getActorAngularFactor( actor, ByRef x, ByRef y, ByRef z)

+

+ Returns the angular factor set on an actor +

+

Related: + SetActorAngularFactor + GetActorLinearFactor + SetActorLinearFactor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorangularsleepthreshold.html b/doc/doc_files/getactorangularsleepthreshold.html new file mode 100644 index 0000000..a74f507 --- /dev/null +++ b/doc/doc_files/getactorangularsleepthreshold.html @@ -0,0 +1,89 @@ + + + + + + GetActorAngularSleepThreshold [RCBasic Doc] + + + +

function GetActorAngularSleepThreshold( actor)

+

+ Returns the Angular deactivation threshold for the actor +

+

Related: + SetActorSleepThresholds + GetActorLinearSleepThreshold +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorangularvelocitylocal.html b/doc/doc_files/getactorangularvelocitylocal.html new file mode 100644 index 0000000..8548ff6 --- /dev/null +++ b/doc/doc_files/getactorangularvelocitylocal.html @@ -0,0 +1,90 @@ + + + + + + getActorAngularVelocityLocal [RCBasic Doc] + + + +

sub getActorAngularVelocityLocal( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets an actor's Angular Velocity +

+

Related: + GetActorAngularVelocityWorld + SetActorAngularVelocityLocal + SetActorAngularVelocityWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorangularvelocityworld.html b/doc/doc_files/getactorangularvelocityworld.html new file mode 100644 index 0000000..8c83eb7 --- /dev/null +++ b/doc/doc_files/getactorangularvelocityworld.html @@ -0,0 +1,90 @@ + + + + + + getActorAngularVelocityWorld [RCBasic Doc] + + + +

sub getActorAngularVelocityWorld( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets an actor's Angular Velocity +

+

Related: + GetActorAngularVelocityLocal + SetActorAngularVelocityLocal + SetActorAngularVelocityWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactoranimationendframe.html b/doc/doc_files/getactoranimationendframe.html new file mode 100644 index 0000000..523d974 --- /dev/null +++ b/doc/doc_files/getactoranimationendframe.html @@ -0,0 +1,88 @@ + + + + + + GetActorAnimationEndFrame [RCBasic Doc] + + + +

Function GetActorAnimationEndFrame(actor, animation)

+

+ Returns the last frame in an actor's animation +

+

Related: + SetActorAnimationFrames +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactoranimationspeed.html b/doc/doc_files/getactoranimationspeed.html new file mode 100644 index 0000000..d3c61c9 --- /dev/null +++ b/doc/doc_files/getactoranimationspeed.html @@ -0,0 +1,88 @@ + + + + + + GetActorAnimationSpeed [RCBasic Doc] + + + +

function GetActorAnimationSpeed( actor, animation )

+

+ Returns actor's animation speed in frames per second +

+

Related: + SetActorAnimationSpeed +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactoranimationstartframe.html b/doc/doc_files/getactoranimationstartframe.html new file mode 100644 index 0000000..0393dbc --- /dev/null +++ b/doc/doc_files/getactoranimationstartframe.html @@ -0,0 +1,88 @@ + + + + + + GetActorAnimationStartFrame [RCBasic Doc] + + + +

Function GetActorAnimationStartFrame(actor, animation)

+

+ Returns the first frame in an actor's animation +

+

Related: + SetActorAnimationFrames +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorautoculling.html b/doc/doc_files/getactorautoculling.html new file mode 100644 index 0000000..bf55ae8 --- /dev/null +++ b/doc/doc_files/getactorautoculling.html @@ -0,0 +1,108 @@ + + + + + + GetActorAutoCulling [RCBasic Doc] + + + +

function GetActorAutoCulling( actor )

+

+ Returns the automatic culling state for an actor +

+

+ Possible Culling States +

+ +

Related: + SetActorAutoCulling +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorcollision.html b/doc/doc_files/getactorcollision.html new file mode 100644 index 0000000..3680e99 --- /dev/null +++ b/doc/doc_files/getactorcollision.html @@ -0,0 +1,88 @@ + + + + + + GetActorCollision [RCBasic Doc] + + + +

function GetActorCollision(actor1, actor2)

+

+ Returns true if 2 actors collide +

+

+ Note: This function will work with solid and non solid actors +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorcollisionshape.html b/doc/doc_files/getactorcollisionshape.html new file mode 100644 index 0000000..7e8d1c7 --- /dev/null +++ b/doc/doc_files/getactorcollisionshape.html @@ -0,0 +1,117 @@ + + + + + + GetActorCollisionShape [RCBasic Doc] + + + +

function GetActorCollisionShape(actor)

+

+ Returns the actor's collision shape +

+

+ Possible values: +

+ +

Related: + SetActorCollisionShape +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorcomposition.html b/doc/doc_files/getactorcomposition.html new file mode 100644 index 0000000..5246ed1 --- /dev/null +++ b/doc/doc_files/getactorcomposition.html @@ -0,0 +1,85 @@ + + + + + + getActorCOMPosition [RCBasic Doc] + + + +

sub getActorCOMPosition( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets an actor's center of mass position. This is useful for setting the origin of constraints. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorcurrentanimation.html b/doc/doc_files/getactorcurrentanimation.html new file mode 100644 index 0000000..a363d49 --- /dev/null +++ b/doc/doc_files/getactorcurrentanimation.html @@ -0,0 +1,92 @@ + + + + + + GetActorCurrentAnimation [RCBasic Doc] + + + +

Function GetActorCurrentAnimation(actor)

+

+ Returns the current animation set on an actor +

+

+ Note: Current animation will be 0 if the actor's frame was set with SetActorFrame() +

+

Related: + SetActorAnimation + SetActorFrame +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorcurrentframe.html b/doc/doc_files/getactorcurrentframe.html new file mode 100644 index 0000000..7d013fb --- /dev/null +++ b/doc/doc_files/getactorcurrentframe.html @@ -0,0 +1,85 @@ + + + + + + GetActorCurrentFrame [RCBasic Doc] + + + +

function GetActorCurrentFrame( actor )

+

+ Returns an actor's current frame of animation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorendframe.html b/doc/doc_files/getactorendframe.html new file mode 100644 index 0000000..4ca76fc --- /dev/null +++ b/doc/doc_files/getactorendframe.html @@ -0,0 +1,85 @@ + + + + + + GetActorEndFrame [RCBasic Doc] + + + +

function GetActorEndFrame( actor )

+

+ Returns the last frame of an actor's animation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorframe.html b/doc/doc_files/getactorframe.html new file mode 100644 index 0000000..f49fe24 --- /dev/null +++ b/doc/doc_files/getactorframe.html @@ -0,0 +1,89 @@ + + + + + + GetActorFrame [RCBasic Doc] + + + +

function GetActorFrame(actor)

+

+ Returns the current frame number an actor is currently rendering +

+

Related: + SetActorFrame + GetActorAnimationFrame +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorgravity.html b/doc/doc_files/getactorgravity.html new file mode 100644 index 0000000..dda91c1 --- /dev/null +++ b/doc/doc_files/getactorgravity.html @@ -0,0 +1,88 @@ + + + + + + GetActorGravity [RCBasic Doc] + + + +

sub GetActorGravity( actor, ByRef x, ByRef y, ByRef z )

+

+ Gets the gravity of an actor along each access. +

+

Related: + SetActorGravity +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorinverseinertiadiaglocal.html b/doc/doc_files/getactorinverseinertiadiaglocal.html new file mode 100644 index 0000000..6c439df --- /dev/null +++ b/doc/doc_files/getactorinverseinertiadiaglocal.html @@ -0,0 +1,85 @@ + + + + + + getActorInverseInertiaDiagLocal [RCBasic Doc] + + + +

sub getActorInverseInertiaDiagLocal( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets the inverse of the inertia tensor's diagonal components in the local space. This is used to compute how the actor reacts to rotational forces (torques) applied to it. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorinversemass.html b/doc/doc_files/getactorinversemass.html new file mode 100644 index 0000000..685858a --- /dev/null +++ b/doc/doc_files/getactorinversemass.html @@ -0,0 +1,88 @@ + + + + + + getActorInverseMass [RCBasic Doc] + + + +

function getActorInverseMass( actor)

+

+ Returns an actor's inverse mass +

+

Related: + SetActorMassProperties +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlineardamping.html b/doc/doc_files/getactorlineardamping.html new file mode 100644 index 0000000..f381fa4 --- /dev/null +++ b/doc/doc_files/getactorlineardamping.html @@ -0,0 +1,89 @@ + + + + + + GetActorLinearDamping [RCBasic Doc] + + + +

function GetActorLinearDamping( actor)

+

+ Return's an actor's linear damping +

+

Related: + SetActorDamping + GetActorAngularDamping +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlinearfactor.html b/doc/doc_files/getactorlinearfactor.html new file mode 100644 index 0000000..e22f017 --- /dev/null +++ b/doc/doc_files/getactorlinearfactor.html @@ -0,0 +1,90 @@ + + + + + + GetActorLinearFactor [RCBasic Doc] + + + +

sub GetActorLinearFactor( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets an actor's linear factor +

+

Related: + SetActorLinearFactor + GetActorAngularFactor + SetActorAngularFactor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlinearsleepthreshold.html b/doc/doc_files/getactorlinearsleepthreshold.html new file mode 100644 index 0000000..c9a0b9a --- /dev/null +++ b/doc/doc_files/getactorlinearsleepthreshold.html @@ -0,0 +1,89 @@ + + + + + + GetActorLinearSleepThreshold [RCBasic Doc] + + + +

function GetActorLinearSleepThreshold( actor)

+

+ Returns the linear deactivation threshold for the actor +

+

Related: + SetActorSleepThresholds + GetActorAngularSleepThreshold +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlinearvelocitylocal.html b/doc/doc_files/getactorlinearvelocitylocal.html new file mode 100644 index 0000000..ce7c4ac --- /dev/null +++ b/doc/doc_files/getactorlinearvelocitylocal.html @@ -0,0 +1,89 @@ + + + + + + GetActorLinearVelocityLocal [RCBasic Doc] + + + +

sub GetActorLinearVelocityLocal( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets actor's linear velocity +

+

Related: + SetActorLinearVelocityLocal + SetActorLinearVelocityWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlinearvelocityworld.html b/doc/doc_files/getactorlinearvelocityworld.html new file mode 100644 index 0000000..da022ec --- /dev/null +++ b/doc/doc_files/getactorlinearvelocityworld.html @@ -0,0 +1,89 @@ + + + + + + getActorLinearVelocityWorld [RCBasic Doc] + + + +

sub getActorLinearVelocityWorld( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets actor's linear velocity +

+

Related: + SetActorLinearVelocityLocal + SetActorLinearVelocityWorld +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlocalinertia.html b/doc/doc_files/getactorlocalinertia.html new file mode 100644 index 0000000..37bee06 --- /dev/null +++ b/doc/doc_files/getactorlocalinertia.html @@ -0,0 +1,85 @@ + + + + + + GetActorLocalInertia [RCBasic Doc] + + + +

sub GetActorLocalInertia( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets the local inertia tensor of an actor. The inertia tensor describes how an actor resists rotational motion depending on its mass distribution relative to its center of mass. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorlocalpointvelocity.html b/doc/doc_files/getactorlocalpointvelocity.html new file mode 100644 index 0000000..43a0daa --- /dev/null +++ b/doc/doc_files/getactorlocalpointvelocity.html @@ -0,0 +1,85 @@ + + + + + + getActorLocalPointVelocity [RCBasic Doc] + + + +

sub getActorLocalPointVelocity( actor, rel_x, rel_y, rel_z, ByRef x, ByRef y, ByRef z)

+

+ Gets the linear velocity of a specific point on an actor, given its position in the actor's local coordinate space. This is useful for determining how fast and in what direction a particular point on the actor is moving, accounting for both the body's linear velocity and its rotational motion (angular velocity). +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactormaterial.html b/doc/doc_files/getactormaterial.html new file mode 100644 index 0000000..202a43e --- /dev/null +++ b/doc/doc_files/getactormaterial.html @@ -0,0 +1,88 @@ + + + + + + getActorMaterial [RCBasic Doc] + + + +

function getActorMaterial( actor, material_num)

+

+ Returns an actor's material id. +

+

+ Actor's can have multiple materials but generally you want material 0 for most Actor's. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactormaterialcount.html b/doc/doc_files/getactormaterialcount.html new file mode 100644 index 0000000..6529583 --- /dev/null +++ b/doc/doc_files/getactormaterialcount.html @@ -0,0 +1,85 @@ + + + + + + getActorMaterialCount [RCBasic Doc] + + + +

function getActorMaterialCount( actor)

+

+ Returns the number of materials for an actor. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactormaterialflag.html b/doc/doc_files/getactormaterialflag.html new file mode 100644 index 0000000..0dff1c0 --- /dev/null +++ b/doc/doc_files/getactormaterialflag.html @@ -0,0 +1,153 @@ + + + + + + getActorMaterialFlag [RCBasic Doc] + + + +

function getActorMaterialFlag( actor, material, flag)

+

+ Returns the value of the specified material flag +

+

+ Possible values for flag: +

+ +

Related: + GetMaterialFlag +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactormaterialtype.html b/doc/doc_files/getactormaterialtype.html new file mode 100644 index 0000000..fee54c7 --- /dev/null +++ b/doc/doc_files/getactormaterialtype.html @@ -0,0 +1,170 @@ + + + + + + GetActorMaterialType [RCBasic Doc] + + + +

function GetActorMaterialType( actor, material )

+

+ Returns the material type of an actor material +

+

+ Possible material types +

+ +

Related: + SetActorMaterialType + GetMaterialType + SetMaterialType +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorposition.html b/doc/doc_files/getactorposition.html new file mode 100644 index 0000000..be333e5 --- /dev/null +++ b/doc/doc_files/getactorposition.html @@ -0,0 +1,88 @@ + + + + + + GetActorPosition [RCBasic Doc] + + + +

sub GetActorPosition( actor, ByRef x, ByRef y, ByRef z )

+

+ Gets the actors position +

+

Related: + SetActorPosition +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorrotation.html b/doc/doc_files/getactorrotation.html new file mode 100644 index 0000000..d24d0ff --- /dev/null +++ b/doc/doc_files/getactorrotation.html @@ -0,0 +1,88 @@ + + + + + + GetActorRotation [RCBasic Doc] + + + +

sub GetActorRotation( actor, ByRef x, ByRef y, ByRef z )

+

+ Gets the actors rotation on each axis +

+

Related: + SetActorRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorrotationq.html b/doc/doc_files/getactorrotationq.html new file mode 100644 index 0000000..e9b90b8 --- /dev/null +++ b/doc/doc_files/getactorrotationq.html @@ -0,0 +1,92 @@ + + + + + + GetActorRotationQ [RCBasic Doc] + + + +

sub GetActorRotationQ( actor, ByRef x, ByRef y, ByRef z, ByRef w)

+

+ Gets the actors rotation as a quaternion. +

+

+ Note: This is useful for calculations that require quaternion but most developers should just use GetActorRotation() +

+

Related: + GetActorRotation + SetActorRotation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorscale.html b/doc/doc_files/getactorscale.html new file mode 100644 index 0000000..9c05d4b --- /dev/null +++ b/doc/doc_files/getactorscale.html @@ -0,0 +1,88 @@ + + + + + + GetActorScale [RCBasic Doc] + + + +

sub GetActorScale( actor, ByRef x, ByRef y, ByRef z )

+

+ Gets an actor's scale +

+

Related: + SetActorScale +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactorstartframe.html b/doc/doc_files/getactorstartframe.html new file mode 100644 index 0000000..a35a95a --- /dev/null +++ b/doc/doc_files/getactorstartframe.html @@ -0,0 +1,85 @@ + + + + + + GetActorStartFrame [RCBasic Doc] + + + +

function GetActorStartFrame( actor )

+

+ Returns the start frame of an actor's animation +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactortotalforce.html b/doc/doc_files/getactortotalforce.html new file mode 100644 index 0000000..bbe629e --- /dev/null +++ b/doc/doc_files/getactortotalforce.html @@ -0,0 +1,88 @@ + + + + + + GetActorTotalForce [RCBasic Doc] + + + +

sub GetActorTotalForce( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets the total net force currently acting on an actor. This force is the sum of all external forces applied to the actor at a given point in time, including forces like gravity, applied forces, and other interactions such as contact or collision forces. +

+

Related: + GetActorTotalTorque +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactortotaltorque.html b/doc/doc_files/getactortotaltorque.html new file mode 100644 index 0000000..89ea69b --- /dev/null +++ b/doc/doc_files/getactortotaltorque.html @@ -0,0 +1,88 @@ + + + + + + GetActorTotalTorque [RCBasic Doc] + + + +

sub GetActorTotalTorque( actor, ByRef x, ByRef y, ByRef z)

+

+ Gets the total net torque currently acting on an actor. Torque represents the rotational equivalent of force, describing how different forces applied to the actor cause it to rotate. The total torque is the sum of all external torques acting on the actor, which determine how the actor will rotate or change its angular velocity. +

+

Related: + GetTotalForces +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactortransform.html b/doc/doc_files/getactortransform.html new file mode 100644 index 0000000..6dc39ab --- /dev/null +++ b/doc/doc_files/getactortransform.html @@ -0,0 +1,85 @@ + + + + + + GetActorTransform [RCBasic Doc] + + + +

sub GetActorTransform( actor, matrix )

+

+ Stores the actors absolute transformation in the given matrix +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getactortransitiontime.html b/doc/doc_files/getactortransitiontime.html new file mode 100644 index 0000000..272ad0e --- /dev/null +++ b/doc/doc_files/getactortransitiontime.html @@ -0,0 +1,93 @@ + + + + + + GetActorTransitionTime [RCBasic Doc] + + + +

function GetActorTransitionTime( actor )

+

+ Returns the total transition time of an actor transitioning between animations +

+

+ Note: Time returned is in seconds +

+

Related: + StartActorTransition + StopActorTransition + ActorIsInTransition +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getan8scenename.html b/doc/doc_files/getan8scenename.html new file mode 100644 index 0000000..fb3fa8e --- /dev/null +++ b/doc/doc_files/getan8scenename.html @@ -0,0 +1,85 @@ + + + + + + GetAN8SceneName$ [RCBasic Doc] + + + +

Function GetAN8SceneName$(an8_project, scene_num)

+

+ Returns the name of a scene in an an8 project +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getbilinearfilter.html b/doc/doc_files/getbilinearfilter.html new file mode 100644 index 0000000..b095dd7 --- /dev/null +++ b/doc/doc_files/getbilinearfilter.html @@ -0,0 +1,88 @@ + + + + + + GetBilinearFilter [RCBasic Doc] + + + +

function GetBilinearFilter()

+

+ Returns true if bilinear filtering is enabled +

+

Related: + SetBilinearFilter +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getblendmode.html b/doc/doc_files/getblendmode.html new file mode 100644 index 0000000..fe10c44 --- /dev/null +++ b/doc/doc_files/getblendmode.html @@ -0,0 +1,126 @@ + + + + + + GetBlendMode [RCBasic Doc] + + + +

function GetBlendMode( )

+

+ Returns the current blend mode +

+

+ Note: Only applies to 2D image drawing commands +

+

+ Possible Blend Modes +

+ +

Related: + SetBlendMode +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcameraaspectratio.html b/doc/doc_files/getcameraaspectratio.html new file mode 100644 index 0000000..ae2199a --- /dev/null +++ b/doc/doc_files/getcameraaspectratio.html @@ -0,0 +1,88 @@ + + + + + + GetCameraAspectRatio [RCBasic Doc] + + + +

function GetCameraAspectRatio( )

+

+ Returns the camera aspect ratio for the active canvas +

+

Related: + SetCameraAspectRatio +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcamerafarvalue.html b/doc/doc_files/getcamerafarvalue.html new file mode 100644 index 0000000..379d998 --- /dev/null +++ b/doc/doc_files/getcamerafarvalue.html @@ -0,0 +1,88 @@ + + + + + + GetCameraFarValue [RCBasic Doc] + + + +

function GetCameraFarValue( )

+

+ Returns the far plane of the camera on the active canvas +

+

Related: + GetCameraNearValue +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcamerafov.html b/doc/doc_files/getcamerafov.html new file mode 100644 index 0000000..5e67f6b --- /dev/null +++ b/doc/doc_files/getcamerafov.html @@ -0,0 +1,85 @@ + + + + + + GetCameraFOV [RCBasic Doc] + + + +

function GetCameraFOV( )

+

+ Returns the field of view of the camera on the active canvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcameranearvalue.html b/doc/doc_files/getcameranearvalue.html new file mode 100644 index 0000000..550a458 --- /dev/null +++ b/doc/doc_files/getcameranearvalue.html @@ -0,0 +1,88 @@ + + + + + + GetCameraNearValue [RCBasic Doc] + + + +

function GetCameraNearValue( )

+

+ Returns the near plane of the camera on the active canvas +

+

Related: + GetCameraFarValue +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcameraposition.html b/doc/doc_files/getcameraposition.html new file mode 100644 index 0000000..2c5761a --- /dev/null +++ b/doc/doc_files/getcameraposition.html @@ -0,0 +1,89 @@ + + + + + + GetCameraPosition [RCBasic Doc] + + + +

sub GetCameraPosition(ByRef x, ByRef y, ByRef z)

+

+ Gets the position of the camera +

+

Related: + SetCameraPosition + TranslateCamera +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcamerarotation.html b/doc/doc_files/getcamerarotation.html new file mode 100644 index 0000000..b58bc18 --- /dev/null +++ b/doc/doc_files/getcamerarotation.html @@ -0,0 +1,89 @@ + + + + + + GetCameraRotation [RCBasic Doc] + + + +

sub GetCameraRotation(ByRef x, ByRef y, ByRef z)

+

+ Gets the rotation of the camera on each axis +

+

Related: + SetCameraRotation + RotateCamera +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcanvasalpha.html b/doc/doc_files/getcanvasalpha.html new file mode 100644 index 0000000..ef7574e --- /dev/null +++ b/doc/doc_files/getcanvasalpha.html @@ -0,0 +1,88 @@ + + + + + + GetCanvasAlpha [RCBasic Doc] + + + +

function GetCanvasAlpha(c_num)

+

+ Returns the alpha blend value of a canvas +

+

Related: + SetCanvasAlpha +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcanvascolormod.html b/doc/doc_files/getcanvascolormod.html new file mode 100644 index 0000000..eb5673f --- /dev/null +++ b/doc/doc_files/getcanvascolormod.html @@ -0,0 +1,88 @@ + + + + + + GetCanvasColorMod [RCBasic Doc] + + + +

function GetCanvasColorMod(c_num)

+

+ Returns the color modulation of a canvas +

+

Related: + SetCanvasColorMod +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcanvasoffset.html b/doc/doc_files/getcanvasoffset.html new file mode 100644 index 0000000..eef0a99 --- /dev/null +++ b/doc/doc_files/getcanvasoffset.html @@ -0,0 +1,88 @@ + + + + + + GetCanvasOffset [RCBasic Doc] + + + +

sub GetCanvasOffset(c_num, byref x, byref y)

+

+ Returns view offset of a canvas +

+

Related: + SetCanvasOffset +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcanvassize.html b/doc/doc_files/getcanvassize.html new file mode 100644 index 0000000..bb40b37 --- /dev/null +++ b/doc/doc_files/getcanvassize.html @@ -0,0 +1,85 @@ + + + + + + GetCanvasSize [RCBasic Doc] + + + +

sub GetCanvasSize(c_num, byref w, byref h)

+

+ Gets the size of a canvas +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcanvasviewport.html b/doc/doc_files/getcanvasviewport.html new file mode 100644 index 0000000..9401d99 --- /dev/null +++ b/doc/doc_files/getcanvasviewport.html @@ -0,0 +1,89 @@ + + + + + + GetCanvasViewport [RCBasic Doc] + + + +

sub GetCanvasViewport(c_num, byref x, byref y, byref w, byref h)

+

+ Gets the position and size of a canvas viewport +

+

Related: + OpenCanvas + SetCanvasViewport +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcanvasz.html b/doc/doc_files/getcanvasz.html new file mode 100644 index 0000000..e3bc365 --- /dev/null +++ b/doc/doc_files/getcanvasz.html @@ -0,0 +1,91 @@ + + + + + + GetCanvasZ [RCBasic Doc] + + + +

function GetCanvasZ(c_num)

+

+ Returns the Canvas Z Order. +

+

+ Note: Canvases with a lower Z order are drawn first and those with higher values will be drawn on top +

+

Related: + SetCanvasZ +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getchannelvolume.html b/doc/doc_files/getchannelvolume.html new file mode 100644 index 0000000..05b318f --- /dev/null +++ b/doc/doc_files/getchannelvolume.html @@ -0,0 +1,85 @@ + + + + + + GetChannelVolume [RCBasic Doc] + + + +

function GetChannelVolume(channel)

+

+ Returns the volume of the audio on a channel +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getcirclelineintersection.html b/doc/doc_files/getcirclelineintersection.html new file mode 100644 index 0000000..04e8786 --- /dev/null +++ b/doc/doc_files/getcirclelineintersection.html @@ -0,0 +1,88 @@ + + + + + + GetCircleLineIntersection [RCBasic Doc] + + + +

function GetCircleLineIntersection(circle_x, circle_y, radius, x1, y1, x2, y2, ByRef ix1, ByRef iy1, ByRef ix2, ByRef iy2)

+

+ Calculates the points where a circle and line intersect and stores the intersection points in (ix1, iy1) and (ix2, iy2) +

+

+ NOTE: This function returns 0 if there is no intersection and 1 or 2 if there is 1 or 2 intersection points. If it only returns 1 then only (ix1, iy1) will be set. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getclipboardtext.html b/doc/doc_files/getclipboardtext.html new file mode 100644 index 0000000..a69006c --- /dev/null +++ b/doc/doc_files/getclipboardtext.html @@ -0,0 +1,85 @@ + + + + + + GetClipboardText$ [RCBasic Doc] + + + +

function GetClipboardText$( )

+

+ Returns the clipboard text. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconeanglepoint.html b/doc/doc_files/getconeanglepoint.html new file mode 100644 index 0000000..5abbfde --- /dev/null +++ b/doc/doc_files/getconeanglepoint.html @@ -0,0 +1,85 @@ + + + + + + getConeAnglePoint [RCBasic Doc] + + + +

sub getConeAnglePoint( constraint_id, angle, c_len, ByRef x, ByRef y, ByRef z)

+

+ Computes or retrieves a point based on a given angle relative to the constraint’s twist axis. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconebiasfactor.html b/doc/doc_files/getconebiasfactor.html new file mode 100644 index 0000000..bba4793 --- /dev/null +++ b/doc/doc_files/getconebiasfactor.html @@ -0,0 +1,85 @@ + + + + + + getConeBiasFactor [RCBasic Doc] + + + +

function getConeBiasFactor( constraint_id)

+

+ Returns the bias factor used to correct constraint violations (such as small positional or angular errors) during the simulation. The bias factor helps ensure that the constrained actors return to their intended positions or orientations over time by applying corrective forces or impulses. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconedamping.html b/doc/doc_files/getconedamping.html new file mode 100644 index 0000000..3a738fe --- /dev/null +++ b/doc/doc_files/getconedamping.html @@ -0,0 +1,85 @@ + + + + + + getConeDamping [RCBasic Doc] + + + +

function getConeDamping( constraint_id)

+

+ Returns the damping factor applied to the constraint. Damping is used to reduce the amount of oscillation or unwanted movement (such as excessive rotation or swinging) around the constrained actor's axes. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconefixthresh.html b/doc/doc_files/getconefixthresh.html new file mode 100644 index 0000000..7146d4b --- /dev/null +++ b/doc/doc_files/getconefixthresh.html @@ -0,0 +1,91 @@ + + + + + + getConeFixThresh [RCBasic Doc] + + + +

function getConeFixThresh( constraint_id)

+

+ Returns the fix threshold value associated with that constraint. This threshold is used to control how the constraint behaves when the angle of the rotation between the actors approaches the limits defined by the cone twist constraint. +

+

+ The fix threshold defines a limit or tolerance for how closely the angle between the two actors can approach the constraint's limits before corrective actions are taken. When the angular motion exceeds this threshold, the constraint applies corrective forces to bring the motion back within the allowed range. +

+

Related: + SetConeFixThresh +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconelimit.html b/doc/doc_files/getconelimit.html new file mode 100644 index 0000000..441d227 --- /dev/null +++ b/doc/doc_files/getconelimit.html @@ -0,0 +1,102 @@ + + + + + + getConeLimit [RCBasic Doc] + + + +

function getConeLimit( constraint_id, limit_index)

+

+ Returns the angular limit associated with a specific degree of freedom in the cone constraint. This limit defines the range of motion allowed around a given axis (twist, swing1, or swing2) for the constrained actors. +

+

+ limitIndex is an integer that indicates which limit to retrieve. It typically takes values corresponding to the type of limit: +

+ +

+ Returns value is the maximum angle or range allowed for the specified degree of freedom (twist, swing1, or swing2) +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconesolveswinglimit.html b/doc/doc_files/getconesolveswinglimit.html new file mode 100644 index 0000000..cd3d2a9 --- /dev/null +++ b/doc/doc_files/getconesolveswinglimit.html @@ -0,0 +1,88 @@ + + + + + + getConeSolveSwingLimit [RCBasic Doc] + + + +

function getConeSolveSwingLimit( constraint_id)

+

+ Returns whether the swing limit of the constraint is currently being enforced during the simulation. +

+

+ The swing limit defines the boundary within which the connected actors can swing. When the bodies approach or exceed this limit, the physics engine enforces a constraint to prevent further motion. If the swing limit is exceeded during simulation, corrective forces are applied to bring the actors back within the allowed range. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconesolvetwistlimit.html b/doc/doc_files/getconesolvetwistlimit.html new file mode 100644 index 0000000..3bb88f3 --- /dev/null +++ b/doc/doc_files/getconesolvetwistlimit.html @@ -0,0 +1,88 @@ + + + + + + getConeSolveTwistLimit [RCBasic Doc] + + + +

function getConeSolveTwistLimit( constraint_id)

+

+ Returns whether the twist limit is currently being enforced during the simulation. +

+

+ The twist limit controls how much the connected actors can rotate around the central axis of the joint (the "twist" axis). When the actors rotate beyond this allowed limit, the physics engine applies corrective forces to keep the rotation within the defined twist range. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconeswingspan1.html b/doc/doc_files/getconeswingspan1.html new file mode 100644 index 0000000..fe7286c --- /dev/null +++ b/doc/doc_files/getconeswingspan1.html @@ -0,0 +1,91 @@ + + + + + + getConeSwingSpan1 [RCBasic Doc] + + + +

function getConeSwingSpan1( constraint_id)

+

+ Returns the maximum allowed rotation angle (or "span") for the first swing axis. This swing axis is one of the two orthogonal axes around which the constrained actors are allowed to swing, forming a cone-shaped range of motion. +

+

+ There are two swing spans, swing span 1 and swing span 2, corresponding to the maximum allowable swing angles around each of the two swing axes. +

+

Related: + GetConeSwingSpan2 +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconeswingspan2.html b/doc/doc_files/getconeswingspan2.html new file mode 100644 index 0000000..10a96b5 --- /dev/null +++ b/doc/doc_files/getconeswingspan2.html @@ -0,0 +1,91 @@ + + + + + + getConeSwingSpan2 [RCBasic Doc] + + + +

function getConeSwingSpan2( constraint_id)

+

+ Returns the maximum allowed rotation angle (or "span") for the second swing axis. This swing axis is one of the two orthogonal axes around which the constrained actors are allowed to swing, forming a cone-shaped range of motion. +

+

+ There are two swing spans, swing span 1 and swing span 2, corresponding to the maximum allowable swing angles around each of the two swing axes. +

+

Related: + GetConeSwingSpan1 +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconetwistangle.html b/doc/doc_files/getconetwistangle.html new file mode 100644 index 0000000..352fcb9 --- /dev/null +++ b/doc/doc_files/getconetwistangle.html @@ -0,0 +1,96 @@ + + + + + + getConeTwistAngle [RCBasic Doc] + + + +

function getConeTwistAngle( constraint_id)

+

+ Returns the current twist angle between the two actors connected by the constraint +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconetwistlimitsign.html b/doc/doc_files/getconetwistlimitsign.html new file mode 100644 index 0000000..d02b7e8 --- /dev/null +++ b/doc/doc_files/getconetwistlimitsign.html @@ -0,0 +1,93 @@ + + + + + + getConeTwistLimitSign [RCBasic Doc] + + + +

function getConeTwistLimitSign( constraint_id)

+

+ Returns the sign of the twist limit, which indicates the direction of the twist limit enforcement around the twist axis. +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconetwistspan.html b/doc/doc_files/getconetwistspan.html new file mode 100644 index 0000000..b1d2bfe --- /dev/null +++ b/doc/doc_files/getconetwistspan.html @@ -0,0 +1,85 @@ + + + + + + getConeTwistSpan [RCBasic Doc] + + + +

function getConeTwistSpan( constraint_id)

+

+ Returns the maximum allowed twist angle for the constraint, which determines how far the connected bodies can rotate around the twist axis before the constraint enforces limits. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintactora.html b/doc/doc_files/getconstraintactora.html new file mode 100644 index 0000000..9d943bf --- /dev/null +++ b/doc/doc_files/getconstraintactora.html @@ -0,0 +1,85 @@ + + + + + + getConstraintActorA [RCBasic Doc] + + + +

function getConstraintActorA( constraint_id)

+

+ Returns the first actor in a constraint +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintactorb.html b/doc/doc_files/getconstraintactorb.html new file mode 100644 index 0000000..332e227 --- /dev/null +++ b/doc/doc_files/getconstraintactorb.html @@ -0,0 +1,85 @@ + + + + + + getConstraintActorB [RCBasic Doc] + + + +

function getConstraintActorB( constraint_id)

+

+ Returns the second actor in a constraint +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintaframe.html b/doc/doc_files/getconstraintaframe.html new file mode 100644 index 0000000..c013528 --- /dev/null +++ b/doc/doc_files/getconstraintaframe.html @@ -0,0 +1,91 @@ + + + + + + GetConstraintAFrame [RCBasic Doc] + + + +

function GetConstraintAFrame( constraint_id, mA)

+

+ Stores the transform of the first actor in a constraint in mA +

+

+ Note: Only applies to cone and hinge constraints +

+

Related: + GetConstraintBFrame +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintangularonly.html b/doc/doc_files/getconstraintangularonly.html new file mode 100644 index 0000000..9148112 --- /dev/null +++ b/doc/doc_files/getconstraintangularonly.html @@ -0,0 +1,91 @@ + + + + + + getConstraintAngularOnly [RCBasic Doc] + + + +

function getConstraintAngularOnly( constraint_id)

+

+ Returns true if the hinge constraint is set to limit only angular motion while allowing unrestricted linear (translational) motion. +

+

+ Note: Applies to Cone and Hinge constraints +

+

Related: + SetConstraintAngularOnly +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintappliedimpulse.html b/doc/doc_files/getconstraintappliedimpulse.html new file mode 100644 index 0000000..7b91a4f --- /dev/null +++ b/doc/doc_files/getconstraintappliedimpulse.html @@ -0,0 +1,85 @@ + + + + + + getConstraintAppliedImpulse [RCBasic Doc] + + + +

function getConstraintAppliedImpulse( constraint_id)

+

+ Returns the impulse applied to a constraint during the last simulation step. This impulse is the force integrated over a small time step (impulse = force × time) and is applied to resolve the constraint and maintain its behavior, such as keeping two objects connected or restricting movement. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintbframe.html b/doc/doc_files/getconstraintbframe.html new file mode 100644 index 0000000..b56d4cd --- /dev/null +++ b/doc/doc_files/getconstraintbframe.html @@ -0,0 +1,91 @@ + + + + + + GetConstraintBFrame [RCBasic Doc] + + + +

function GetConstraintBFrame( constraint_id, mA)

+

+ Stores the transform of the second actor in a constraint in mA +

+

+ Note: Only applies to cone and hinge constraints +

+

Related: + GetConstraintAFrame +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintbreakingimpulsethreshold.html b/doc/doc_files/getconstraintbreakingimpulsethreshold.html new file mode 100644 index 0000000..d4a3ae7 --- /dev/null +++ b/doc/doc_files/getconstraintbreakingimpulsethreshold.html @@ -0,0 +1,88 @@ + + + + + + getConstraintBreakingImpulseThreshold [RCBasic Doc] + + + +

function getConstraintBreakingImpulseThreshold( constraint_id)

+

+ Returns the breaking impulse threshold for a given constraint. The breaking impulse threshold defines the maximum force (impulse) a constraint can withstand before it "breaks," meaning that the constraint will be deactivated and no longer enforce its rules. +

+

Related: + SetConstraintBreakingImpulseThreshold +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintfixedactor.html b/doc/doc_files/getconstraintfixedactor.html new file mode 100644 index 0000000..f82d172 --- /dev/null +++ b/doc/doc_files/getconstraintfixedactor.html @@ -0,0 +1,85 @@ + + + + + + getConstraintFixedActor [RCBasic Doc] + + + +

function getConstraintFixedActor( constraint_id)

+

+ Returns the actor that is associated with a specific constraint. This is primarily applicable in constraints that involve one actor being constrained to another or to a static point in the simulation. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintframeoffseta.html b/doc/doc_files/getconstraintframeoffseta.html new file mode 100644 index 0000000..1774bad --- /dev/null +++ b/doc/doc_files/getconstraintframeoffseta.html @@ -0,0 +1,88 @@ + + + + + + getConstraintFrameOffsetA [RCBasic Doc] + + + +

sub getConstraintFrameOffsetA( constraint_id, ByRef x, ByRef y, ByRef z, ByRef rx, ByRef ry, ByRef rz)

+

+ Gets the frame offset for actor A associated with a particular constraint. This frame offset defines the position and orientation of actor A relative to the constraint's anchor point. +

+

Related: + GetConstraintFrameOffsetB +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintframeoffsetb.html b/doc/doc_files/getconstraintframeoffsetb.html new file mode 100644 index 0000000..9ed2f90 --- /dev/null +++ b/doc/doc_files/getconstraintframeoffsetb.html @@ -0,0 +1,88 @@ + + + + + + getConstraintFrameOffsetB [RCBasic Doc] + + + +

sub getConstraintFrameOffsetB( constraint_id, ByRef x, ByRef y, ByRef z, ByRef rx, ByRef ry, ByRef rz)

+

+ Gets the frame offset for actor B associated with a particular constraint. This frame offset defines the position and orientation of actor B relative to the constraint's anchor point. +

+

Related: + GetConstraintFrameOffsetA +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintlimitsoftness.html b/doc/doc_files/getconstraintlimitsoftness.html new file mode 100644 index 0000000..9c3bcd9 --- /dev/null +++ b/doc/doc_files/getconstraintlimitsoftness.html @@ -0,0 +1,100 @@ + + + + + + getConstraintLimitSoftness [RCBasic Doc] + + + +

function getConstraintLimitSoftness( constraint_id)

+

+ Returns the softness parameter associated with the limits of the constraint. This softness affects how the constraint behaves when the angular motion of the connected actors approaches their defined limits. +

+ +

Related: + SetConstraintSoftnessDirAng + SetConstraintSoftnessDirLin + SetConstraintSoftnessLimAng + SetConstraintSoftnessLimLin + SetConstraintSoftnessOrthoAng +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getconstraintsolveriterations.html b/doc/doc_files/getconstraintsolveriterations.html new file mode 100644 index 0000000..a3d2002 --- /dev/null +++ b/doc/doc_files/getconstraintsolveriterations.html @@ -0,0 +1,85 @@ + + + + + + getConstraintSolverIterations [RCBasic Doc] + + + +

function getConstraintSolverIterations( constraint_id)

+

+ Returns the value for the number of solver iterations that have been overridden for a specific constraint or actor. Solver iterations refer to the number of times the physics engine solves for constraint forces during each simulation step. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getdesktopdisplaymode.html b/doc/doc_files/getdesktopdisplaymode.html new file mode 100644 index 0000000..d928762 --- /dev/null +++ b/doc/doc_files/getdesktopdisplaymode.html @@ -0,0 +1,96 @@ + + + + + + GetDesktopDisplayMode [RCBasic Doc] + + + +

Sub GetDesktopDisplayMode(index, ByRef w, ByRef h, ByRef freq)

+

+ Gets the resolution and refresh rate of a display +

+ +

+ + + \ No newline at end of file diff --git a/doc/doc_files/getglobalmouse.html b/doc/doc_files/getglobalmouse.html new file mode 100644 index 0000000..8808160 --- /dev/null +++ b/doc/doc_files/getglobalmouse.html @@ -0,0 +1,85 @@ + + + + + + GetGlobalMouse [RCBasic Doc] + + + +

sub GetGlobalMouse(ByRef x, ByRef y, ByRef mb1, ByRef mb2, ByRef mb3)

+

+ Gets the global mouse position and button state +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getgravity3d.html b/doc/doc_files/getgravity3d.html new file mode 100644 index 0000000..12e3aea --- /dev/null +++ b/doc/doc_files/getgravity3d.html @@ -0,0 +1,88 @@ + + + + + + GetGravity3D [RCBasic Doc] + + + +

sub GetGravity3D(ByRef x, ByRef y, ByRef z)

+

+ Gets the world gravity +

+

Related: + SetGravity3D +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getgyro.html b/doc/doc_files/getgyro.html new file mode 100644 index 0000000..c5655d9 --- /dev/null +++ b/doc/doc_files/getgyro.html @@ -0,0 +1,85 @@ + + + + + + GetGyro [RCBasic Doc] + + + +

sub GetGyro(gyro_num, ByRef x, ByRef y, ByRef z)

+

+ Gets the values of a Gyro sensor +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/gethingeangle.html b/doc/doc_files/gethingeangle.html new file mode 100644 index 0000000..628bb40 --- /dev/null +++ b/doc/doc_files/gethingeangle.html @@ -0,0 +1,85 @@ + + + + + + getHingeAngle [RCBasic Doc] + + + +

function getHingeAngle( constraint_id)

+

+ Returns the angle of a hinge constraint +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/gethingeangleex.html b/doc/doc_files/gethingeangleex.html new file mode 100644 index 0000000..1c1bbef --- /dev/null +++ b/doc/doc_files/gethingeangleex.html @@ -0,0 +1,85 @@ + + + + + + getHingeAngleEx [RCBasic Doc] + + + +

function getHingeAngleEx( constraint_id, t_matrixA, t_matrixB)

+

+ Returns the transforms of the 2 actors in a hinge constraint +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/gethingelimitbiasfactor.html b/doc/doc_files/gethingelimitbiasfactor.html new file mode 100644 index 0000000..973616b --- /dev/null +++ b/doc/doc_files/gethingelimitbiasfactor.html @@ -0,0 +1,88 @@ + + + + + + getHingeLimitBiasFactor [RCBasic Doc] + + + +

function getHingeLimitBiasFactor( constraint_id)

+

+ Returns the bias factor associated with the limits of the hinge constraint. This bias factor affects how the constraint corrects errors when the angular position of the constrained actors approaches or exceeds the defined limits. +

+

+ The bias factor is a parameter that influences how aggressively the constraint corrects the position when the angular motion reaches the limits. A higher bias factor results in a stronger corrective force, helping to pull the constrained bodies back within their limits more quickly. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/gethingelimitrelaxationfactor.html b/doc/doc_files/gethingelimitrelaxationfactor.html new file mode 100644 index 0000000..42a2e34 --- /dev/null +++ b/doc/doc_files/gethingelimitrelaxationfactor.html @@ -0,0 +1,82 @@ + + + + + + getHingeLimitRelaxationFactor [RCBasic Doc] + + + +

function getHingeLimitRelaxationFactor( constraint_id)

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/gethingelimitsign.html b/doc/doc_files/gethingelimitsign.html new file mode 100644 index 0000000..5920522 --- /dev/null +++ b/doc/doc_files/gethingelimitsign.html @@ -0,0 +1,91 @@ + + + + + + getHingeLimitSign [RCBasic Doc] + + + +

function getHingeLimitSign( constraint_id)

+

+ Returns the limit sign for the hinge constraint. This value indicates the direction in which the hinge limit is applied, which can be crucial for understanding the behavior of the hinge in relation to its limits. +

+

+ The limit sign determines whether the hinge's limits are applied in a positive or negative direction. It essentially indicates the side of the limit that is considered "active" during the simulation. +

+

Related: + SetHingeLimit +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/gethingesolvelimit.html b/doc/doc_files/gethingesolvelimit.html new file mode 100644 index 0000000..144cc6f --- /dev/null +++ b/doc/doc_files/gethingesolvelimit.html @@ -0,0 +1,88 @@ + + + + + + getHingeSolveLimit [RCBasic Doc] + + + +

function getHingeSolveLimit( constraint_id)

+

+ Checks whether the hinge has reached or exceeded its angular limit during the simulation. It returns a boolean or an integer value that indicates whether the current angular position is within the constraint's angular limits or if corrective forces need to be applied. +

+

+ The "solve limit" refers to whether the current angular position is close to or outside the defined angular limits. If the constraint detects that the hinge is at the limit, it enters a solving state, where it applies corrective forces to keep the rotation within the allowed range. +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getimagealpha.html b/doc/doc_files/getimagealpha.html new file mode 100644 index 0000000..8a3efae --- /dev/null +++ b/doc/doc_files/getimagealpha.html @@ -0,0 +1,85 @@ + + + + + + GetImageAlpha [RCBasic Doc] + + + +

function GetImageAlpha( img_id )

+

+ Returns the alpha blend value of an image +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getimagecolormod.html b/doc/doc_files/getimagecolormod.html new file mode 100644 index 0000000..cc2564c --- /dev/null +++ b/doc/doc_files/getimagecolormod.html @@ -0,0 +1,85 @@ + + + + + + GetImageColorMod [RCBasic Doc] + + + +

function GetImageColorMod(img)

+

+ Returns the color modulation of an image +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getimagesize.html b/doc/doc_files/getimagesize.html new file mode 100644 index 0000000..428c20e --- /dev/null +++ b/doc/doc_files/getimagesize.html @@ -0,0 +1,85 @@ + + + + + + GetImageSize [RCBasic Doc] + + + +

sub GetImageSize(slot, byref w, byref h)

+

+ Gets the Size of an image +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getjoytrackball.html b/doc/doc_files/getjoytrackball.html new file mode 100644 index 0000000..d43ce75 --- /dev/null +++ b/doc/doc_files/getjoytrackball.html @@ -0,0 +1,85 @@ + + + + + + GetJoyTrackBall [RCBasic Doc] + + + +

sub GetJoyTrackBall(joy_num, ball, byref dx, byref dy)

+

+ Gets the axis values of a track ball +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightambientcolor.html b/doc/doc_files/getlightambientcolor.html new file mode 100644 index 0000000..5e0b317 --- /dev/null +++ b/doc/doc_files/getlightambientcolor.html @@ -0,0 +1,85 @@ + + + + + + GetLightAmbientColor [RCBasic Doc] + + + +

function GetLightAmbientColor( actor )

+

+ Returns the ambient color of a light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightattenuation.html b/doc/doc_files/getlightattenuation.html new file mode 100644 index 0000000..95072f4 --- /dev/null +++ b/doc/doc_files/getlightattenuation.html @@ -0,0 +1,85 @@ + + + + + + GetLightAttenuation [RCBasic Doc] + + + +

sub GetLightAttenuation( actor, ByRef constant, ByRef linear, ByRef quadratic)

+

+ Gets the strength of the light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightdiffusecolor.html b/doc/doc_files/getlightdiffusecolor.html new file mode 100644 index 0000000..1a41825 --- /dev/null +++ b/doc/doc_files/getlightdiffusecolor.html @@ -0,0 +1,85 @@ + + + + + + GetLightDiffuseColor [RCBasic Doc] + + + +

function GetLightDiffuseColor( actor )

+

+ Returns the diffuse color of the light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightfalloff.html b/doc/doc_files/getlightfalloff.html new file mode 100644 index 0000000..4aaf256 --- /dev/null +++ b/doc/doc_files/getlightfalloff.html @@ -0,0 +1,85 @@ + + + + + + GetLightFalloff [RCBasic Doc] + + + +

function GetLightFalloff( actor )

+

+ Returns the strength decrease between the inner and outer cone of a light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightinnercone.html b/doc/doc_files/getlightinnercone.html new file mode 100644 index 0000000..5221492 --- /dev/null +++ b/doc/doc_files/getlightinnercone.html @@ -0,0 +1,85 @@ + + + + + + GetLightInnerCone [RCBasic Doc] + + + +

function GetLightInnerCone( actor )

+

+ Returns the inner cone of a spot light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightoutercone.html b/doc/doc_files/getlightoutercone.html new file mode 100644 index 0000000..ec4ac2b --- /dev/null +++ b/doc/doc_files/getlightoutercone.html @@ -0,0 +1,85 @@ + + + + + + GetLightOuterCone [RCBasic Doc] + + + +

function GetLightOuterCone( actor )

+

+ Returns the outer cone of a spot light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightradius.html b/doc/doc_files/getlightradius.html new file mode 100644 index 0000000..0c7c339 --- /dev/null +++ b/doc/doc_files/getlightradius.html @@ -0,0 +1,85 @@ + + + + + + getLightRadius [RCBasic Doc] + + + +

function getLightRadius( actor )

+

+ Returns the radius of the light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlightspecularcolor.html b/doc/doc_files/getlightspecularcolor.html new file mode 100644 index 0000000..f8a8287 --- /dev/null +++ b/doc/doc_files/getlightspecularcolor.html @@ -0,0 +1,85 @@ + + + + + + GetLightSpecularColor [RCBasic Doc] + + + +

function GetLightSpecularColor( actor )

+

+ Returns the specular color of a light +

+

+ + + \ No newline at end of file diff --git a/doc/doc_files/getlighttype.html b/doc/doc_files/getlighttype.html new file mode 100644 index 0000000..c893fa5 --- /dev/null +++ b/doc/doc_files/getlighttype.html @@ -0,0 +1,102 @@ + + + + + + GetLightType [RCBasic Doc] + + + +

function GetLightType( actor )

+

+ Returns the type of light +

+

+ Returns -1 if it does not have a type (ie. its not a light) +

+

+ Possible Light Types +

+