Take Camera: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
No edit summary
Line 7: Line 7:
{{#vardefine:take camera|<code>take camera</code>}}
{{#vardefine:take camera|<code>take camera</code>}}
<section begin=name/>'''<code>take camera</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer.
<section begin=name/>'''<code>take camera</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer.
</translate>
<translate>
==Usage==
==Usage==


<!--T:2-->
<!--T:2-->
<p id="tooltip"><code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code.
<p id="tooltip"><code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code.
</translate>


<translate>
<!--T:3-->
<!--T:3-->
{{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. </p>
{{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. </p>
</translate>


<translate>
<!--T:4-->
<!--T:4-->
===Syntax===
===Syntax===
<code>(in reference to the agent itself) take camera</code>
<code>(in reference to the agent itself) take camera</code>
</translate>


<translate>
==Related Blocks== <!--T:5-->
==Related Blocks== <!--T:5-->
</translate>


<translate>
==Relevant Video Resources== <!--T:6-->
==Relevant Video Resources== <!--T:6-->
</translate>


<translate>
<!--T:7-->
<!--T:7-->
==Relevant Activities==
==Relevant Activities==

Revision as of 21:17, 20 June 2023

Other languages:
take camera block

take camera is a code block part of the agents drawer.

Usage

take camera changes the camera perspective to be from the point of view of the agent executing the code. take camera can be useful for implementing interactive games from the first-person perspective.

Syntax

(in reference to the agent itself) take camera

Related Blocks

Relevant Video Resources

Relevant Activities