Click or drag to resize
SpriteStateGetMask Method
Get the collision mask for a specified sprite frame.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public CollisionMask GetMask(
	int frameIndex
)

Parameters

frameIndex
Type: SystemInt32
Frame counter value.

Return Value

Type: CollisionMask
Collision mask for the specified frame of the sprite (simply or compound) if applicable, otherwise a null reference. See GetFrame(Int32) for more information about frameIndex and frame counters.
See Also