holoride
Search Results for

    Show / Hide Table of Contents

    Class SpawnerNode

    A node that creates a SpawnerWorker in order to generate objects depending on the geo location.

    Inheritance
    object
    Object
    ScriptableObject
    XNode.Node
    Node
    Node<SpawnerNode>
    SpawnerNode
    PermittedAreaSpawnerNode
    Implements
    IPipelineNode
    Inherited Members
    Node<SpawnerNode>.Output
    Node<SpawnerNode>.GetValue(NodePort)
    Node.Awake()
    Node.IsPortOptional(NodePort)
    Node.GetNodeCategoryType()
    Node.XNodePrettyName(Type)
    Node.TraverseSubGraph()
    Node.CallRecursive(Action<Node>, ISet<Node>)
    Node.ForEachOutput<T>(Action<T>)
    Node.GetInputSourcePorts(string)
    Node.GetOutputSinkPorts(string)
    Namespace: Holoride.ElasticSDK.Graph.Spawners
    Assembly: Holoride.ElasticSDK.Runtime.dll
    Syntax
    [Serializable]
    [DefaultNodeColor("#FF00DD")]
    [HelpURL("http://localhost:8080/articles/Procedural-Generation/Graph-Node-Overview.html#spawner")]
    public abstract class SpawnerNode : Node<SpawnerNode>, IPipelineNode

    Fields

    Extents

    The edge length of the square region around the player's position where objects get spawned.

    Declaration
    [Tooltip("The edge length of the square region around the player's position where objects get spawned.")]
    [FormerlySerializedAs("extents")]
    [SerializeField]
    protected float Extents
    Field Value
    Type Description
    float

    Properties

    CellSize

    Gets the edge length of each squared cell.

    Declaration
    protected virtual double CellSize { get; }
    Property Value
    Type Description
    double

    IsUnconstrained

    Gets a value indicating whether the extents of this spawner are always unclamped.

    Declaration
    public virtual bool IsUnconstrained { get; }
    Property Value
    Type Description
    bool

    Methods

    GeneratePipelineWorker()

    Generates a pipeline worker.

    Declaration
    public abstract IPipelineWorker GeneratePipelineWorker()
    Returns
    Type Description
    IPipelineWorker

    Implements

    IPipelineNode
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint