Home Reference Source

Function

Static Public Summary
public

contextWithPerspective(perspective: Number): module: famous/src/core/Context

Creates a famous/src/core/Context having the specified 3D perspective.

public

simpleExtend(object: *, others: ...*)

Static Public

public contextWithPerspective(perspective: Number): module: famous/src/core/Context source

import {contextWithPerspective} from 'infamous/src/legacy/utils.js'

Creates a famous/src/core/Context having the specified 3D perspective.

Params:

NameTypeAttributeDescription
perspective Number

The integer amount of perspective to apply to the Context.

Return:

module: famous/src/core/Context

The Context with the applied perspective.

public simpleExtend(object: *, others: ...*) source

import {simpleExtend} from 'infamous/src/legacy/utils.js'

Params:

NameTypeAttributeDescription
object *
others ...*