CullingObject
ThaumielMapEditor.API.Components
Overview​
Fields​
| Name | Type | Description |
|---|---|---|
AllInstances | HashSet<CullingObject> | No description |
Bounds | Vector3 | No description |
ClientObject | ClientSideObjectBase | No description |
NetworkIdentity | NetworkIdentity | No description |
PlayersInside | HashSet<Player> | No description |
ServerObject | ServerObject | No description |
Methods​
| Signature | Returns | Description |
|---|---|---|
Init(ClientSideObjectBase, Vector3) | void | No description |
Init(ServerObject, Vector3) | void | No description |
IsInsideCollider(Vector3) | bool | No description |
Setup() | void | No description |
ToggleVisibility(Player, bool) | void | No description |
Fields​
AllInstances​
Type: HashSet<CullingObject>
Bounds​
Type: Vector3
ClientObject​
Type: ClientSideObjectBase
NetworkIdentity​
Type: NetworkIdentity
PlayersInside​
Type: HashSet<Player>
ServerObject​
Type: ServerObject
Methods​
Init​
Init
public void Init(
ClientSideObjectBase client,
Vector3 bounds
)
Parameters​
| Name | Type | Description |
|---|---|---|
client | ClientSideObjectBase | |
bounds | Vector3 |
Init​
Init
public void Init(
ServerObject server,
Vector3 bounds
)
Parameters​
| Name | Type | Description |
|---|---|---|
server | ServerObject | |
bounds | Vector3 |
IsInsideCollider​
IsInsideCollider
public bool IsInsideCollider(Vector3 pos)
Parameters​
| Name | Type | Description |
|---|---|---|
pos | Vector3 |
Returns​
bool
Setup​
Setup
public void Setup()
ToggleVisibility​
ToggleVisibility
public void ToggleVisibility(
Player player,
bool show
)
Parameters​
| Name | Type | Description |
|---|---|---|
player | Player | |
show | bool |