Skip to main content

PhysicsLayers

Complete API reference for PhysicsLayers, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Uncategorized

Component: no


public class PhysicsLayers

Static Methods

SignatureReturnsDescription
findByName(String)PhysicsLayerFinds the PhysicsLayer with the specified name.
add(PhysicsLayer)voidAdds the specified PhysicsLayer. Limited to 16 layers.
remove(PhysicsLayer)voidRemoves the specified PhysicsLayer.
apply()voidApplies the changes. Call after adding or removing Layers.
getLayersList()List<PhysicsLayer>Returns a list of all PhysicsLayers.
layersCount()intReturns the number of PhysicsLayers.
layerAt(int)PhysicsLayerReturns the PhysicsLayer at the specified index.