Class PlacementRule
- Namespace
- MoonBark.GridPlacement.Godot.Placement.PlacementRules
- Assembly
- MoonBark.GridPlacement.Godot.dll
Base class for all placement rules.
Each rule defines a specific condition that must be satisfied for a placement to be considered valid at a given position.
[GlobalClass]
[ScriptPath("res://addons/grid_placement/placement/placement_rules/PlacementRule.cs")]
public abstract class PlacementRule : Resource, IDisposable
- Inheritance
-
GodotObjectRefCountedResourcePlacementRule
- Implements
- Derived
- Inherited Members
-
Resource._GetRid()Resource._ResetState()Resource._SetupLocalToScene()Resource.GetRid()Resource.GetLocalScene()Resource.SetupLocalToScene()Resource.ResetState()Resource.IsBuiltIn()Resource.GenerateSceneUniqueId()Resource.EmitChanged()Resource.EmitSignalChanged()Resource.EmitSignalSetupLocalToSceneRequested()Resource.InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)Resource.HasGodotClassMethod(in godot_string_name)Resource.HasGodotClassSignal(in godot_string_name)Resource.ResourceLocalToSceneResource.ResourcePathResource.ResourceNameResource.ResourceSceneUniqueIdResource.ChangedResource.SetupLocalToSceneRequestedRefCounted.InitRef()RefCounted.Reference()RefCounted.Unreference()RefCounted.GetReferenceCount()GodotObject.NotificationPostinitializeGodotObject.NotificationPredeleteGodotObject.NotificationExtensionReloadedGodotObject.IsInstanceValid(GodotObject)GodotObject.WeakRef(GodotObject)GodotObject.Dispose()GodotObject.ToString()GodotObject.ToSignal(GodotObject, StringName)GodotObject._Get(StringName)GodotObject._GetPropertyList()GodotObject._IterGet(Variant)GodotObject._IterInit(Array)GodotObject._IterNext(Array)GodotObject._PropertyCanRevert(StringName)GodotObject._PropertyGetRevert(StringName)GodotObject._Set(StringName, Variant)GodotObject._ValidateProperty(Dictionary)GodotObject.Free()GodotObject.GetClass()GodotObject.Set(StringName, Variant)GodotObject.Get(StringName)GodotObject.SetIndexed(NodePath, Variant)GodotObject.GetIndexed(NodePath)GodotObject.GetPropertyList()GodotObject.GetMethodList()GodotObject.PropertyCanRevert(StringName)GodotObject.PropertyGetRevert(StringName)GodotObject.GetInstanceId()GodotObject.SetScript(Variant)GodotObject.GetScript()GodotObject.SetMeta(StringName, Variant)GodotObject.RemoveMeta(StringName)GodotObject.GetMeta(StringName, Variant)GodotObject.HasMeta(StringName)GodotObject.GetMetaList()GodotObject.HasUserSignal(StringName)GodotObject.RemoveUserSignal(StringName)GodotObject.EmitSignal(StringName, params Variant[])GodotObject.Call(StringName, params Variant[])GodotObject.CallDeferred(StringName, params Variant[])GodotObject.SetDeferred(StringName, Variant)GodotObject.Callv(StringName, Array)GodotObject.HasMethod(StringName)GodotObject.GetMethodArgumentCount(StringName)GodotObject.HasSignal(StringName)GodotObject.GetSignalList()GodotObject.GetSignalConnectionList(StringName)GodotObject.GetIncomingConnections()GodotObject.Disconnect(StringName, Callable)GodotObject.IsConnected(StringName, Callable)GodotObject.HasConnections(StringName)GodotObject.IsBlockingSignals()GodotObject.NotifyPropertyListChanged()GodotObject.CanTranslateMessages()GodotObject.Tr(StringName, StringName)GodotObject.GetTranslationDomain()GodotObject.SetTranslationDomain(StringName)GodotObject.IsQueuedForDeletion()GodotObject.CancelFree()GodotObject.EmitSignalScriptChanged()GodotObject.EmitSignalPropertyListChanged()GodotObject.NativeInstanceGodotObject.ScriptChangedGodotObject.PropertyListChanged
Properties
Id
Unique identifier for this rule.
[Export(PropertyHint.None, "")]
public string Id { get; set; }
Property Value
IsEnabled
Returns true if this rule is currently enabled.
[Export(PropertyHint.None, "")]
public bool IsEnabled { get; set; }
Property Value
RuleName
Human-readable name for this rule.
[Export(PropertyHint.None, "")]
public string RuleName { get; set; }