Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NgxScaleDirective

Scale Directive

See the ngx3js docs page for details. See the ngx directives page for a live demo.

<ngx3js-mesh [ngx3jsScale]="{
type : 'xyz',
speed : 0.1,
easing : 'linearIn',
repeat : 'yoyo',
start : 0,
end : 1
}"></ngx3js-mesh>

Hierarchy

Implements

  • OnChanges

Index

Constructors

constructor

Properties

Protected elapsedTime

elapsedTime: number = 0

Elapsed time of abstract object3d directive

Protected enabled

enabled: boolean = false

Enabled of abstract directive

ngx3jsScale

ngx3jsScale: string | TObject3dFunction | IScaleOptions = 'xyz'

Input of scale directive

Protected object3dCom

Protected object3dFunction

object3dFunction: TObject3dFunction = null

Object3d function of abstract object3d directive

Protected objectCom

objectCom: any

Protected objectFunction

objectFunction: TObjectFunction = null

Object3d function of abstract object3d directive

Accessors

Protected object

Protected object3d

Methods

Protected consoleLogTime

  • consoleLogTime(key: string, object: any, repeat?: number): void

Protected getEasing

  • getEasing(type: string, speed: number, repeat?: string, start: number, end: number): I3JS.EasingFunction

ngOnChanges

  • ngOnChanges(changes: SimpleChanges): void
  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated. default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

    Parameters

    • changes: SimpleChanges

      The changed properties.

    Returns void

ngOnDestroy

  • ngOnDestroy(): void

ngOnInit

  • ngOnInit(): void
  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

    Returns void

Protected pause

  • pause(): void

Protected play

  • play(): void

setObject3dFunction

setObjectFunction

Protected subscribeRefer

  • subscribeRefer(key: string, subscription: Subscription): void

Protected unSubscribeRefer

  • unSubscribeRefer(key: string): void

Protected unSubscription

  • unSubscription(subscriptions: Subscription[]): Subscription[]

update

Generated using TypeDoc