Show / Hide Table of Contents

Method Render

| Edit this page View Source

Render(GameObject)

Create a Sprite of the target
Declaration
public Sprite Render(GameObject target)
Parameters
Type Name Description
GameObject target Can be a prefab or any existing GameObject in the world
Returns
Type Description
Sprite If no active visual component is attached to the target or any child, this method returns null.
| Edit this page View Source

Render(GameObject, Quaternion)

Create a Sprite of the target
Declaration
public Sprite Render(GameObject target, Quaternion rotation)
Parameters
Type Name Description
GameObject target Can be a prefab or any existing GameObject in the world
Quaternion rotation Rotation while rendering of the GameObject. See
RenderManager.IsometricRotation
for example/>
Returns
Type Description
Sprite If no active visual component is attached to the target or any child, this method returns null.
| Edit this page View Source

Render(RenderRequest)

Create a Sprite from a RenderManager.RenderRequest/>
Declaration
public Sprite Render(RenderManager.RenderRequest renderRequest)
Parameters
Type Name Description
RenderManager.RenderRequest renderRequest
Returns
Type Description
Sprite If no active visual component is attached to the target or any child, this method returns null.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾