Component:CirclePointGenerator: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page CirclePointGenerator (Component) to Component:CirclePointGenerator: Creating component Namespace
add info
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=CirclePointGeneratorComponent.png
|Image=CirclePointGeneratorComponent.png
|Name=Circle Point Generator
|Name=Circle Point Generator
}}
}}
A generator for points arranged in a circle with a given radius.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Radius|Float|
|Radius|Float| The distance from center to outside that this point generator should make points.
|Shell|Bool|
|Shell|Bool| Generate the points for this generator only along the outside edge.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Used in a [[Component:CommonSpawnArea|Common Spawn Area]] to define in what kind of spawn area shape users should initially spawn into.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Used in the default spawn area object in any flat grid world.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Circle Point Generator]]
[[Category:Components{{#translation:}}|Circle Point Generator]]
[[Category:Components:Transform:Point Generators{{#translation:}}|Circle Point Generator]]
[[Category:Components:Transform:Point Generators{{#translation:}}|Circle Point Generator]]

Latest revision as of 16:59, 15 October 2024

Component image 
Circle Point Generator component as seen in the Scene Inspector

A generator for points arranged in a circle with a given radius.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Radius Float The distance from center to outside that this point generator should make points.
Shell Bool Generate the points for this generator only along the outside edge.

Usage

Used in a Common Spawn Area to define in what kind of spawn area shape users should initially spawn into.

Examples

Used in the default spawn area object in any flat grid world.

Related Components