Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NgxControllerItemComponent

The Controller Item component.

See the ngx3js docs page for details.

<ngx3js-controller>
<ngx3js-controller-item
[refRate]="analyser1"
[type]="'material'"
[material]="'emissive'"
[colorType]="'rate'"
></ngx3js-controller-item>
</ngx3js-controller>
<ngx3js-controller>
<ngx3js-controller-item [type]="'autoupdate'"></ngx3js-controller-item>
</ngx3js-controller>
<ngx3js-controller [type]="'auto'">
<ngx3js-controller-item
[type]="'uniforms'"
[uniform]="'cameraPos'"
[valueType]="'copyposition'"
[refValue]="camera"
></ngx3js-controller-item>
</ngx3js-controller>

Hierarchy

Implements

  • OnInit

Index

Constructors

constructor

Properties

Protected OBJECT_ATTR

OBJECT_ATTR: string[] = ...

Object attr of abstract subscribe component

Protected _changeList

_changeList: string[] = null

Change list of abstract subscribe component

Protected _needUpdate

_needUpdate: boolean = true

Need update of abstract subscribe component

center

center: number = null

The center of controller item component

centerX

centerX: number = null

The centerX of controller item component

centerY

centerY: number = null

The centerY of controller item component

centerZ

centerZ: number = null

The centerZ of controller item component

closed

closed: boolean = null

The closed of controller item component

color

color: INgxColor = null

The color of controller item component

colorType

colorType: string = 'rgb'

The Input of controller item component

Notice - case insensitive.

curve

curve: string = null

The curve of controller item component

Notice - case insensitive.

debug

debug: boolean = false

Debug this Object

delta

delta: number = null

The delta of controller item component

duration

duration: number = 1

The duration of controller item component

enabled

enabled: boolean = true

Enabled or Not

Protected id

id: string = ''

The Id of abstract subscribe component

lookathead

lookathead: number = null

The lookathead of controller item component

material

material: string = null

The material of controller item component

maxValue

maxValue: number = 1

The maxValue of controller item component

minValue

minValue: number = 0

The minValue of controller item component

multiply

multiply: number = null

The multiply of controller item component

onDestory

onDestory: EventEmitter<NgxControllerItemComponent> = ...

Will be called when before destory. The argument will be the loaded self

onLoad

onLoad: EventEmitter<NgxControllerItemComponent> = ...

Will be called when load completes. The argument will be the loaded self

opacity

opacity: number = null

The opacity of controller item component

options

options: string = null

The Input of controller item component

Notice - case insensitive.

overrideParams

overrideParams: {} = null

The override params

Type declaration

  • [key: string]: any

Protected parent

parent: any = null

The Parent of abstract subscribe component

radius

radius: number = null

The radius of controller item component

radiusInner

radiusInner: number = null

The radiusInner of controller item component

radiusX

radiusX: number = null

The radiusX of controller item component

radiusY

radiusY: number = null

The radiusY of controller item component

radiusZ

radiusZ: number = null

The radiusZ of controller item component

rate

rate: number = 1

The rate of controller item component

rateX

rateX: number = null

The rateX of controller item component

rateY

rateY: number = null

The rateY of controller item component

rateZ

rateZ: number = null

The rateZ of controller item component

refRate

refRate: any = null

The refRate of controller item component

refValue

refValue: any = null

The refValue of controller item component

rotation

rotation: number = null

The rotation of controller item component

rotationX

rotationX: number = null

The rotationX of controller item component

rotationY

rotationY: number = null

The rotationY of controller item component

rotationZ

rotationZ: number = null

The rotationZ of controller item component

scale

scale: number = null

The scale of controller item component

Protected selfAny

selfAny: any = ...

Protected subscribeType

subscribeType: string = null

Subscribe type of abstract subscribe component

tubeRadius

tubeRadius: number = null

The tubeRadius of controller item component

tubeRadiusSegments

tubeRadiusSegments: number = null

The tubeRadiusSegments of controller item component

tubularSegments

tubularSegments: number = null

The tubularSegments of controller item component

tween

tween: {} = null

Tween animation params

Type declaration

  • [key: string]: any

type

type: string = 'position'

The type of controller item component

uniform

uniform: string = null

The uniform of controller item component

userData

userData: any = null

An object that can be used to store custom data about the Object3D. It should not hold references to functions as these will not be cloned.

valueType

valueType: string = 'auto'

The Input of controller item component

Notice - case insensitive.

visible

visible: boolean = null

The visible of controller item component

wave

wave: number = 0

The wave of controller item component

waveH

waveH: number = 0

The waveH of controller item component

waveR

waveR: number = 0

The waveR of controller item component

windowExport

windowExport: string = null

Export this Object to window global variables

Accessors

needUpdate

  • set needUpdate(value: boolean): void
  • Sets need update

    Parameters

    • value: boolean

    Returns void

Methods

addChanges

  • addChanges(key: string | string[] | SimpleChanges): void

applyChanges

  • applyChanges(changes: string[]): void

Protected callOnLoad

  • callOnLoad(): void

Protected checkChanges

  • checkChanges(changes: SimpleChanges): SimpleChanges

Protected clearChanges

  • clearChanges(): void

Protected consoleLog

  • consoleLog(key: string, object: any, level?: string): void

Protected consoleLogTime

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

Protected destroyLocalComponent

  • destroyLocalComponent(key: string): void

dispose

  • dispose(): void

Protected getChanges

  • getChanges(): string[]

getController

getId

  • getId(): string

getObject

  • getObject<T>(): T

getSubscribe

  • getSubscribe(): Observable<string[]>

Protected getTimeout

  • getTimeout(timeDelay?: number): Promise<void>

getUserData

  • getUserData(): {}

Protected initLocalComponent

  • initLocalComponent<T>(key: string, component: T): T

Protected isIdEuals

  • isIdEuals(id: string): boolean

ngAfterContentInit

  • ngAfterContentInit(): void

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

resetTween

  • resetTween(): void

runSubscribeNext

  • runSubscribeNext(key: string | string[]): void

Protected setObject

  • setObject(obj: any): void

setParent

  • setParent(parent: any): boolean

setSubscribeNext

  • setSubscribeNext(key: string | string[]): void

setSubscribeType

  • setSubscribeType(subscribeType: string): void

setTween

  • setTween(tweenData: {}): void

setTweenTarget

  • setTweenTarget(tweenTarget: any): void

setUserData

  • setUserData(key: string, value: any): void

Protected subscribeListQuery

  • subscribeListQuery(queryList: QueryList<any>, subscribeKey: string, changeKey: string): void

Protected subscribeListQueryChange

  • subscribeListQueryChange(queryList: QueryList<any>, subscribeKey: string, changeKey: string): void

Protected subscribeRefer

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

Protected subscribeReferList

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

Protected unSubscribeRefer

  • unSubscribeRefer(key: string): void

Protected unSubscribeReferList

  • unSubscribeReferList(key: string): void

Protected unSubscription

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

update

updateHelperPoint

updateInputParams

  • updateInputParams(params: {}, firstChange?: boolean, changes?: SimpleChanges, type?: string): void

Generated using TypeDoc