Version: 5.4

BillboardAsset

class in UnityEngine

/

Hereda de:Object

Cambiar al Manual

Descripción

BillboardAsset describes how a billboard is rendered.

Variables

bottomHeight of the billboard that is below ground.
heightHeight of the billboard.
imageCountNumber of pre-baked images that can be switched when the billboard is viewed from different angles.
indexCountNumber of indices in the billboard mesh. The mesh is not necessarily a quad. It can be a more complex shape which fits the actual image more precisely.
materialThe material used for rendering.
vertexCountNumber of vertices in the billboard mesh. The mesh is not necessarily a quad. It can be a more complex shape which fits the actual image more precisely.
widthWidth of the billboard.

Constructores

BillboardAssetConstructs a new BillboardAsset.

Miembros heredados

Variables

hideFlags¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario?
nameEl nombre del objeto.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringDevuelve el nombre del objeto.

Funciones Estáticas

DestroyElimina un gameobject, componente o asset.
DestroyImmediateDestruye el objeto obj inmediatamente.
DontDestroyOnLoadHace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateDevuelve una copia del objeto original.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.