Merge pull request #1913 from knowledgenude/master

Improve LN descriptions
This commit is contained in:
Lubos Lenco 2020-10-08 09:59:28 +02:00 committed by GitHub
commit de0f625c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
249 changed files with 292 additions and 288 deletions

View file

@ -10,6 +10,7 @@ class GetGravityNode extends LogicNode {
#if arm_physics
var physics = armory.trait.physics.PhysicsWorld.active;
return physics.getGravity();
#end

View file

@ -10,9 +10,10 @@ class GetMaterialNode extends LogicNode {
override function get(from: Int): Dynamic {
var object: MeshObject = inputs[0].get();
var slot: Int = inputs[1].get();
if (object == null) return null;
return object.materials[0];
return object.materials[slot];
}
}

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class AnimActionNode(ArmLogicTreeNode):
"""Hold an action as a variable."""
"""Stores the given action as a variable."""
bl_idname = 'LNAnimActionNode'
bl_label = 'Action'
arm_version = 1

View file

@ -1,9 +1,9 @@
from arm.logicnode.arm_nodes import *
class AnimationStateNode(ArmLogicTreeNode):
"""Get information about the current animation of an object."""
"""Returns the information about the current action of the given object."""
bl_idname = 'LNAnimationStateNode'
bl_label = 'Animation State'
bl_label = 'Action State'
arm_version = 1
def init(self, context):

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class BlendActionNode(ArmLogicTreeNode):
"""Interpolate between two different actions."""
"""Interpolates between the two given actions."""
bl_idname = 'LNBlendActionNode'
bl_label = 'Blend Action'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class BoneFKNode(ArmLogicTreeNode):
"""Apply forward kinematics in an object bone."""
"""Applies forward kinematics in the given object bone."""
bl_idname = 'LNBoneFKNode'
bl_label = 'Bone FK'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class BoneIKNode(ArmLogicTreeNode):
"""Apply inverse kinematics in an object bone."""
"""Applies inverse kinematics in the given object bone."""
bl_idname = 'LNBoneIKNode'
bl_label = 'Bone IK'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class OnActionMarkerNode(ArmLogicTreeNode):
"""Activates the output when the object action trespasses the action marker."""
"""Activates the output when the object action reaches the action marker."""
bl_idname = 'LNOnActionMarkerNode'
bl_label = 'On Action Marker'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class PauseActionNode(ArmLogicTreeNode):
"""Pause an action."""
"""Pauses the given action."""
bl_idname = 'LNPauseActionNode'
bl_label = 'Pause Action'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class PauseTilesheetNode(ArmLogicTreeNode):
"""Pause a tilesheet action."""
"""Pauses the given tilesheet action."""
bl_idname = 'LNPauseTilesheetNode'
bl_label = 'Pause Tilesheet'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class PlayActionNode(ArmLogicTreeNode):
"""Play an action."""
"""Plays the given action."""
bl_idname = 'LNPlayActionNode'
bl_label = 'Play Action'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class PlayActionFromNode(ArmLogicTreeNode):
"""Play an action from a defined frame."""
"""Plays action starting from the given frame."""
bl_idname = 'LNPlayActionFromNode'
bl_label = 'Play Action From'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class PlayTilesheetNode(ArmLogicTreeNode):
"""Play a tilesheet action."""
"""Plays the given tilesheet action."""
bl_idname = 'LNPlayTilesheetNode'
bl_label = 'Play Tilesheet'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ResumeActionNode(ArmLogicTreeNode):
"""Resume an action."""
"""Resumes the given action."""
bl_idname = 'LNResumeActionNode'
bl_label = 'Resume Action'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ResumeTilesheetNode(ArmLogicTreeNode):
"""Resume a tilesheet action."""
"""Resumes the given tilesheet action."""
bl_idname = 'LNResumeTilesheetNode'
bl_label = 'Resume Tilesheet'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetActionSpeedNode(ArmLogicTreeNode):
"""Set the current action playback speed."""
"""Sets the current action playback speed of the given object."""
bl_idname = 'LNSetActionSpeedNode'
bl_label = 'Set Action Speed'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetParentBoneNode(ArmLogicTreeNode):
"""Use to set an object parent to a bone."""
"""Sets the given object parent to the given bone."""
bl_idname = 'LNSetParentBoneNode'
bl_label = 'Set Parent Bone'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetParticleSpeedNode(ArmLogicTreeNode):
"""Set the speed of a particle source."""
"""Sets the speed of the given particle source."""
bl_idname = 'LNSetParticleSpeedNode'
bl_label = 'Set Particle Speed'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayNode(ArmLogicTreeNode):
"""Use to hold an array as a variable."""
"""Stores the given array as a variable."""
bl_idname = 'LNArrayNode'
bl_label = 'Array Dynamic'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayAddNode(ArmLogicTreeNode):
"""Add a value to an array.
"""Adds the given value to the given array.
@input Array: the array to manipulate.
@input Modify Original: if `false`, the input array is copied before adding the value.

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class BooleanArrayNode(ArmLogicTreeNode):
"""Use to make an array of boolean elements."""
"""Stores an array of boolean elements as a variable."""
bl_idname = 'LNArrayBooleanNode'
bl_label = 'Array Boolean'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ColorArrayNode(ArmLogicTreeNode):
"""Use to make an array of color elements."""
"""Stores an array of color elements as a variable."""
bl_idname = 'LNArrayColorNode'
bl_label = 'Array Color'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayContainsNode(ArmLogicTreeNode):
"""Get if an array contains a specific value."""
"""Returns whether the given array contains the given value."""
bl_idname = 'LNArrayInArrayNode'
bl_label = 'Array Contains'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class FloatArrayNode(ArmLogicTreeNode):
"""Use to make an array of float elements."""
"""Stores an array of float elements as a variable."""
bl_idname = 'LNArrayFloatNode'
bl_label = 'Array Float'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayGetNode(ArmLogicTreeNode):
"""Get the value of an array at the specified index."""
"""Returns the value of the given array at the given index."""
bl_idname = 'LNArrayGetNode'
bl_label = 'Array Get'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class IntegerArrayNode(ArmLogicTreeNode):
"""Use to make an array of integer elements."""
"""Stores an array of integer elements as a variable."""
bl_idname = 'LNArrayIntegerNode'
bl_label = 'Array Integer'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayLengthNode(ArmLogicTreeNode):
"""Use to get the length of an array."""
"""Returns the length of the given array."""
bl_idname = 'LNArrayLengthNode'
bl_label = 'Array Length'
arm_version = 1

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class ArrayLoopNode(ArmLogicTreeNode):
"""Loop through each item of the given array."""
"""Loops through each item of the given array."""
bl_idname = 'LNArrayLoopNode'
bl_label = 'Array Loop'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ObjectArrayNode(ArmLogicTreeNode):
"""Use to make an array of object elements."""
"""Stores an array of object elements as a variable."""
bl_idname = 'LNArrayObjectNode'
bl_label = 'Array Object'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayPopNode(ArmLogicTreeNode):
"""Remove the last element of an array.
"""Removes the last element of the given array.
@see [Haxe API](https://api.haxe.org/Array.html#pop)"""
bl_idname = 'LNArrayPopNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayRemoveIndexNode(ArmLogicTreeNode):
"""Remove an element from an array by its index.
"""Removes the element from the given array by its index.
@seeNode Array Remove By Value"""
bl_idname = 'LNArrayRemoveNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayRemoveValueNode(ArmLogicTreeNode):
"""Remove an element from an array by its value.
"""Removes the element from the given array by its value.
@seeNode Array Remove By Index"""
bl_idname = 'LNArrayRemoveValueNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArraySetNode(ArmLogicTreeNode):
"""Set the value of an array at the specified index."""
"""Sets the value of the given array at the given index."""
bl_idname = 'LNArraySetNode'
bl_label = 'Array Set'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArrayShiftNode(ArmLogicTreeNode):
"""Use to remove the first element of an array.
"""Removes the first element of the given array.
@see [Haxe API](https://api.haxe.org/Array.html#shift)"""
bl_idname = 'LNArrayShiftNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ArraySpliceNode(ArmLogicTreeNode):
"""Removes a specified amount of elements from the given array.
"""Removes the given amount of elements from the given array.
@see [Haxe API](https://api.haxe.org/Array.html#splice)"""
bl_idname = 'LNArraySpliceNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class StringArrayNode(ArmLogicTreeNode):
"""Use to make an array of string elements."""
"""Stores an array of string elements as a variable."""
bl_idname = 'LNArrayStringNode'
bl_label = 'Array String'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class VectorArrayNode(ArmLogicTreeNode):
"""Use to make an array of vector elements."""
"""Stores an array of vector elements as a variable."""
bl_idname = 'LNArrayVectorNode'
bl_label = 'Array Vector'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class ActiveCameraNode(ArmLogicTreeNode):
"""Get the the active camera.
"""Returns the active camera.
@seeNode Set Active Camera"""
bl_idname = 'LNActiveCameraNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GetCameraFovNode(ArmLogicTreeNode):
"""Get the field of view (FOV) of a camera.
"""Returns the field of view (FOV) of the given camera.
@seeNode Set Camera FOV"""
bl_idname = 'LNGetCameraFovNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetCameraNode(ArmLogicTreeNode):
"""Set the active camera.
"""Sets the active camera.
@seeNode Get Active Camera"""
bl_idname = 'LNSetCameraNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetCameraFovNode(ArmLogicTreeNode):
"""Set the field of view (FOV) of a camera.
"""Sets the field of view (FOV) of the given camera.
@seeNode Get Camera FOV"""
bl_idname = 'LNSetCameraFovNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetCheckboxNode(ArmLogicTreeNode):
"""Use to get if an UI checkbox is checked."""
"""Returns whether the given UI checkbox is checked."""
bl_idname = 'LNCanvasGetCheckboxNode'
bl_label = 'Get Canvas Checkbox'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetInputTextNode(ArmLogicTreeNode):
"""Use to get the input text of an UI element."""
"""Returns the input text of the given UI element."""
bl_idname = 'LNCanvasGetInputTextNode'
bl_label = 'Get Canvas Input Text'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetLocationNode(ArmLogicTreeNode):
"""Use to get the location of an UI element (in pixels)."""
"""Returns the location of the given UI element (pixels)."""
bl_idname = 'LNCanvasGetLocationNode'
bl_label = 'Get Canvas Location'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetPBNode(ArmLogicTreeNode):
"""Use to get the value of an UI progress bar."""
"""Returns the value of the given UI progress bar."""
bl_idname = 'LNCanvasGetPBNode'
bl_label = 'Get Canvas Progress Bar'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetRotationNode(ArmLogicTreeNode):
"""Use to get the rotation of an UI element."""
"""Returns the rotation of the given UI element."""
bl_idname = 'LNCanvasGetRotationNode'
bl_label = 'Get Canvas Rotation'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetScaleNode(ArmLogicTreeNode):
"""Use to get the scale of an UI element."""
"""Returns the scale of the given UI element."""
bl_idname = 'LNCanvasGetScaleNode'
bl_label = 'Get Canvas Scale'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasGetSliderNode(ArmLogicTreeNode):
"""Use to get the value of an UI slider."""
"""Returns the value of the given UI slider."""
bl_idname = 'LNCanvasGetSliderNode'
bl_label = 'Get Canvas Slider'
arm_version = 1

View file

@ -4,7 +4,7 @@ from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class CanvasGetVisibleNode(ArmLogicTreeNode):
"""Use to get if an UI element is visible."""
"""Returns whether the given UI element is visible."""
bl_idname = 'LNCanvasGetVisibleNode'
bl_label = 'Get Canvas Visible'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class OnCanvasElementNode(ArmLogicTreeNode):
"""Will run the output if an action over an UI element is done."""
"""Activates the output whether an action over the given UI element is done."""
bl_idname = 'LNOnCanvasElementNode'
bl_label = 'On Canvas Element'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetAssetNode(ArmLogicTreeNode):
"""Use to set the asset of an UI element."""
"""Sets the asset of the given UI element."""
bl_idname = 'LNCanvasSetAssetNode'
bl_label = 'Set Canvas Asset'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetCheckBoxNode(ArmLogicTreeNode):
"""Use to set the state of an UI checkbox."""
"""Sets the state of the given UI checkbox."""
bl_idname = 'LNCanvasSetCheckBoxNode'
bl_label = 'Set Canvas Checkbox'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetLocationNode(ArmLogicTreeNode):
"""Use to set the location of an UI element."""
"""Sets the location of the given UI element."""
bl_idname = 'LNCanvasSetLocationNode'
bl_label = 'Set Canvas Location'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetPBNode(ArmLogicTreeNode):
"""Use to set the value of an UI progress bar."""
"""Sets the value of the given UI progress bar."""
bl_idname = 'LNCanvasSetPBNode'
bl_label = 'Set Canvas Progress Bar'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetRotationNode(ArmLogicTreeNode):
"""Use to set the rotation of an UI element."""
"""Sets the rotation of the given UI element."""
bl_idname = 'LNCanvasSetRotationNode'
bl_label = 'Set Canvas Rotation'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetScaleNode(ArmLogicTreeNode):
"""Use to set the scale of an UI element."""
"""Sets the scale of the given UI element."""
bl_idname = 'LNCanvasSetScaleNode'
bl_label = 'Set Canvas Scale'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetSliderNode(ArmLogicTreeNode):
"""Use to set the value of an UI slider."""
"""Sets the value of the given UI slider."""
bl_idname = 'LNCanvasSetSliderNode'
bl_label = 'Set Canvas Slider'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetTextNode(ArmLogicTreeNode):
"""Set the text of a element that is given by its name."""
"""Sets the text of the given UI element."""
bl_idname = 'LNCanvasSetTextNode'
bl_label = 'Set Canvas Text'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetTextColorNode(ArmLogicTreeNode):
"""Use to set an UI text color."""
"""Sets the color of the given UI element."""
bl_idname = 'LNCanvasSetTextColorNode'
bl_label = 'Set Canvas Text Color'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CanvasSetVisibleNode(ArmLogicTreeNode):
"""Use to set if an UI element is visibile."""
"""Sets whether the given UI element is visibile."""
bl_idname = 'LNCanvasSetVisibleNode'
bl_label = 'Set Canvas Visible'
arm_version = 1

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class OnApplicationStateNode(ArmLogicTreeNode):
"""Listen to different application state changes."""
"""Listens to different application state changes."""
bl_idname = 'LNOnApplicationStateNode'
bl_label = 'On Application State'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SendEventNode(ArmLogicTreeNode):
"""Send an event to an object.
"""Sends the given event to the given object.
@seeNode Send Event
@seeNode On Event

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SendGlobalEventNode(ArmLogicTreeNode):
"""Send an event to all objects in the scene.
"""Sends the given event to all objects in the scene.
@seeNode Send Event To Object
@seeNode On Event

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GamepadCoordsNode(ArmLogicTreeNode):
"""Get the coordinates of different gamepad sticks.
"""Returns the coordinates of the given gamepad.
@seeNode Gamepad

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GetCursorLocationNode(ArmLogicTreeNode):
"""Get the mouse cursor location in screen coordinates (pixels)."""
"""Returns the mouse cursor location in screen coordinates (pixels)."""
bl_idname = 'LNGetCursorLocationNode'
bl_label = 'Get Cursor Location'
arm_version = 1

View file

@ -4,7 +4,7 @@ from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class GetCursorStateNode(ArmLogicTreeNode):
"""Get the state of the mouse cursor.
"""Returns the state of the mouse cursor.
@seeNode Set Cursor State

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GetMouseMovementNode(ArmLogicTreeNode):
"""Get the movement coordinates of the mouse."""
"""Returns the movement coordinates of the mouse."""
bl_idname = 'LNGetMouseMovementNode'
bl_label = 'Get Mouse Movement'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GetTouchLocationNode(ArmLogicTreeNode):
"""Get the location of the last touch event in screen coordinates (pixels)."""
"""Returns the location of the last touch event in screen coordinates (pixels)."""
bl_idname = 'LNGetTouchLocationNode'
bl_label = 'Get Touch Location'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GetTouchMovementNode(ArmLogicTreeNode):
"""Get the movement values of the current touch event."""
"""Returns the movement values of the current touch event."""
bl_idname = 'LNGetTouchMovementNode'
bl_label = 'Get Touch Movement'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class KeyboardNode(ArmLogicTreeNode):
"""Activates the output when there is a keyboard event."""
"""Activates the output when the given keyboard action is done."""
bl_idname = 'LNMergedKeyboardNode'
bl_label = 'Keyboard'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class MouseNode(ArmLogicTreeNode):
"""Activates the output when there is a mouse button event."""
"""Activates the output when the given mouse action is done."""
bl_idname = 'LNMergedMouseNode'
bl_label = 'Mouse'
arm_version = 1

View file

@ -45,7 +45,7 @@ class NodeRemoveOutputButton(bpy.types.Operator):
# Class SwipeNode
class OnSwipeNode(ArmLogicTreeNode):
"""Activates the output when there is a swipe event."""
"""Activates the output when the given swipe action is done."""
bl_idname = 'LNOnSwipeNode'
bl_label = 'On Swipe'
arm_version = 1

View file

@ -1,8 +1,8 @@
from arm.logicnode.arm_nodes import *
from arm.logicnode.arm_nodes import *
# Class OnTapScreen
class OnTapScreen(ArmLogicTreeNode):
"""Activates the output when there is a tap event."""
"""Activates the output when the given tap action is done."""
bl_idname = 'LNOnTapScreen'
bl_label = 'On Tap Screen'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetCursorStateNode(ArmLogicTreeNode):
"""Set the state of the mouse cursor.
"""Sets the state of the mouse cursor.
@seeNode Get Cursor State

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SurfaceNode(ArmLogicTreeNode):
"""Runs the output when the defined action over the screen is done."""
"""Activates the output when the given action over the screen is done."""
bl_idname = 'LNMergedSurfaceNode'
bl_label = 'Surface'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class VirtualButtonNode(ArmLogicTreeNode):
"""Runs the output when the action over the virtual button is done."""
"""Activates the output when the given action over the virtual button is done."""
bl_idname = 'LNMergedVirtualButtonNode'
bl_label = 'Virtual Button'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetLightColorNode(ArmLogicTreeNode):
"""Use to set the color of a light."""
"""Sets the color of the given light."""
bl_idname = 'LNSetLightColorNode'
bl_label = 'Set Light Color'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetLightStrengthNode(ArmLogicTreeNode):
"""Use to set the strenght of a light."""
"""Sets the strenght of the given light."""
bl_idname = 'LNSetLightStrengthNode'
bl_label = 'Set Light Strength'
arm_version = 1

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class AlternateNode(ArmLogicTreeNode):
"""Runs the outputs 0 and 1 alternating every time it is activated."""
"""Activates the outputs 0 and 1 alternating every time it is active."""
bl_idname = 'LNAlternateNode'
bl_label = 'Alternate'
arm_version = 1

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class BranchNode(ArmLogicTreeNode):
"""When activated, activates its "True" or "False" output, according
"""Activates its "True" or "False" output, according
to the state of the plugged-in boolean."""
bl_idname = 'LNBranchNode'
bl_label = 'Branch'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class CallFunctionNode(ArmLogicTreeNode):
"""Calls a function that was created by the [Function](#function) node."""
"""Calls the given function that was created by the [Function](#function) node."""
bl_idname = 'LNCallFunctionNode'
bl_label = 'Call Function'
bl_description = 'Calls a function that was created by the Function node.'

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class FunctionOutputNode(ArmLogicTreeNode):
"""Set the return value for the specified function.
"""Sets the return value for the given function.
@seeNode Function"""
bl_idname = 'LNFunctionOutputNode'

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class NotNode(ArmLogicTreeNode):
"""Inverts a plugged in boolean, so if its input is `true` it outputs `false`."""
"""Inverts the plugged-in boolean. If its input is `true` it outputs `false`."""
bl_idname = 'LNNotNode'
bl_label = 'Invert Bool'
arm_version = 1

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class IsFalseNode(ArmLogicTreeNode):
"""Passes through its activation only if the plugged in boolean
"""Passes through its activation only if the plugged-in boolean
equals `false`.
@seeNode Is True"""

View file

@ -2,7 +2,7 @@ from arm.logicnode.arm_nodes import *
class IsNoneNode(ArmLogicTreeNode):
"""Passes through its activation only if the plugged in value is
"""Passes through its activation only if the plugged-in value is
`null` (no value).
@seeNode Is Not None"""

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class IsNotNoneNode(ArmLogicTreeNode):
"""Passes through its activation only if the plugged in value is
"""Passes through its activation only if the plugged-in value is
not `null`.
@seeNode Is None"""

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class IsTrueNode(ArmLogicTreeNode):
"""Passes through its activation only if the plugged in boolean
"""Passes through its activation only if the plugged-in boolean
equals `true`.
@seeNode Is False"""

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class MergeNode(ArmLogicTreeNode):
"""Activates the output when any connected input is active.
"""Activates the output when any connected input is activated.
@option New: Add a new input socket.
@option X Button: Remove the lowermost input socket."""

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SequenceNode(ArmLogicTreeNode):
"""Runs the outputs one by one sequentially and repeatedly."""
"""Activates the outputs one by one sequentially and repeatedly."""
bl_idname = 'LNSequenceNode'
bl_label = 'Sequence'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SwitchNode(ArmLogicTreeNode):
"""Runs the outputs depending of the value. Example: If 'value' is equal to 'case 1', the output 'case 1' will run.
"""Activates the outputs depending of the value. If 'value' is equal to 'case 1', the output 'case 1' will be activated.
@output Default: Activated if the input value does not match any case.
"""

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class GetMaterialNode(ArmLogicTreeNode):
"""Use to get the material of an object."""
"""Returns the material of the given object."""
bl_idname = 'LNGetMaterialNode'
bl_label = 'Get Object Material'
arm_version = 1
@ -9,6 +9,7 @@ class GetMaterialNode(ArmLogicTreeNode):
def init(self, context):
super(GetMaterialNode, self).init(context)
self.add_input('ArmNodeSocketObject', 'Object')
self.add_input('NodeSocketInt', 'Slot')
self.add_output('NodeSocketShader', 'Material')
add_node(GetMaterialNode, category=PKG_AS_CATEGORY)

View file

@ -5,7 +5,7 @@ from arm.logicnode.arm_nodes import *
class MaterialNode(ArmLogicTreeNode):
"""Use to hold a material as a variable."""
"""Stores the given material as a variable."""
bl_idname = 'LNMaterialNode'
bl_label = 'Material'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class SetMaterialNode(ArmLogicTreeNode):
"""Use to set the material of an object."""
"""Sets the material of the given object."""
bl_idname = 'LNSetMaterialNode'
bl_label = 'Set Object Material'
arm_version = 1

View file

@ -6,7 +6,7 @@ def remove_extra_inputs(self, context):
self.inputs.remove(self.inputs[-1])
class CompareNode(ArmLogicTreeNode):
"""Use to compare values."""
"""Compares values."""
bl_idname = 'LNCompareNode'
bl_label = 'Compare'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class DegToRadNode(ArmLogicTreeNode):
"""Use to convert degrees to radians."""
"""Converts degrees to radians."""
bl_idname = 'LNDegToRadNode'
bl_label = 'Deg to Rad'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class MathNode(ArmLogicTreeNode):
"""Use to operate values. You must check in the Wiki what each operator does, because some of them uses only the first input."""
"""Operates values. Some operations uses only the first input."""
bl_idname = 'LNMathNode'
bl_label = 'Math'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class MatrixMathNode(ArmLogicTreeNode):
"""Use to multiply matrices."""
"""Multiplies matrices."""
bl_idname = 'LNMatrixMathNode'
bl_label = 'Matrix Math'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class MixNode(ArmLogicTreeNode):
"""Use to interpolate between two values."""
"""Interpolates between the two given values."""
bl_idname = 'LNMixNode'
bl_label = 'Mix'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class VectorMixNode(ArmLogicTreeNode):
"""Use to interpolate between vectors."""
"""Interpolates between the two given vectors."""
bl_idname = 'LNVectorMixNode'
bl_label = 'Mix Vector'
arm_version = 1

View file

@ -1,7 +1,7 @@
from arm.logicnode.arm_nodes import *
class RadToDegNode(ArmLogicTreeNode):
"""Use to convert radians to degrees."""
"""Converts radians to degrees."""
bl_idname = 'LNRadToDegNode'
bl_label = 'Rad to Deg'
arm_version = 1

Some files were not shown because too many files have changed in this diff Show more