Skip to main content

PhysicsLayer

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

Package: JAVARuntime

Category: Uncategorized

Component: no


public class PhysicsLayer

Constructors

SignatureDescription
PhysicsLayer(Layer)Executes PhysicsLayer and returns after the underlying engine call finishes.
PhysicsLayer(String)Executes PhysicsLayer and returns after the underlying engine call finishes.

Attributes

NameTypeDescription
layerLayerRepresents the layer value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
addIgnoreLayer(PhysicsLayer)voidAdds the specified PhysicsLayer to the ignore list of this layer.
removeIgnoreLayer(PhysicsLayer)voidRemoves the specified PhysicsLayer from the ignore list of this layer.
getIgnoreAt(int)PhysicsLayerReturns the PhysicsLayer at the specified index in the ignore list.
ignoreCount()intReturns the number of PhysicsLayers in the ignore list.