Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NgxGeometryIconComponent

The Geometry Icon component.

See the ngx3js docs page for details. See the ngx icon page for a live demo. See the Icons - Google Fonts page for detail.

see

THREE.BufferGeometry

Hierarchy

Implements

  • OnInit
  • OnDestroy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected GEOMETRY_ATTR

GEOMETRY_ATTR: string[] = ...

Geometry attr of abstract geometry component

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

align

align: string = null

The align of geometry

left, center, right, top, bottom, front, back, double

Notice - case insensitive. mixed

attrColor

attrColor: TAttrBufferAttribute = null

The attrColor of abstract geometry component

attrColorKey

attrColorKey: string = null

The attrColorKey of abstract geometry component

attrColorNormalized

attrColorNormalized: boolean = false

The attrColorNormalized of abstract geometry component

attrColorSize

attrColorSize: number = null

The attrColorSize of abstract geometry component

attrColorUsage

attrColorUsage: string = null

The attrColorUsage of abstract geometry component

attrCustomColor

attrCustomColor: TAttrBufferAttribute = null

The attrCustomColor of abstract geometry component

attrCustomColorUsage

attrCustomColorUsage: string = null

The attrCustomColorUsage of abstract geometry component

attrIndex

attrIndex: TAttrBufferAttribute = null

The attrIndex of abstract geometry component

attrIndexUsage

attrIndexUsage: string = null

The attrIndexUsage of abstract geometry component

attrNormal

attrNormal: TAttrBufferAttribute = null

The attrNormal of abstract geometry component

attrNormalNormalized

attrNormalNormalized: boolean = false

The attrNormalNormalized of abstract geometry component

attrNormalUsage

attrNormalUsage: string = null

The attrNormalUsage of abstract geometry component

attrOffset

attrOffset: TAttrBufferAttribute = null

The attrOffset of abstract geometry component

attrOffsetUsage

attrOffsetUsage: string = null

The attrOffsetUsage of abstract geometry component

attrOrientationEnd

attrOrientationEnd: TAttrBufferAttribute = null

The attrOrientationEnd of abstract geometry component

attrOrientationEndUsage

attrOrientationEndUsage: string = null

The attrOrientationEndUsage of abstract geometry component

attrOrientationStart

attrOrientationStart: TAttrBufferAttribute = null

The attrOrientationStart of abstract geometry component

attrOrientationStartUsage

attrOrientationStartUsage: string = null

The attrOrientationStartUsage of abstract geometry component

attrPosition

attrPosition: TAttrBufferAttribute = null

The attrPosition of abstract geometry component

attrPositionUsage

attrPositionUsage: string = null

The attrPositionUsage of abstract geometry component

attrScale

attrScale: TAttrBufferAttribute = null

The attrScale of abstract geometry component

attrScaleUsage

attrScaleUsage: string = null

The attrScaleUsage of abstract geometry component

attrSize

attrSize: TAttrBufferAttribute = null

The attrSize of abstract geometry component

attrSizeUsage

attrSizeUsage: string = null

Defines the intended usage pattern of the data store for optimization purposes. Corresponds to the usage parameter of WebGLRenderingContext.bufferData().

attrTextureIndex

attrTextureIndex: TAttrBufferAttribute = null

The attrTextureIndex of abstract geometry component

attrTextureIndexUsage

attrTextureIndexUsage: string = null

The attrTextureIndexUsage of abstract geometry component

attrTranslate

attrTranslate: TAttrBufferAttribute = null

The attrTranslate of abstract geometry component

attrTranslateUsage

attrTranslateUsage: string = null

The attrTranslateUsage of abstract geometry component

attrUv

attrUv: TAttrBufferAttribute = null

The attrUv of abstract geometry component

attrUvUsage

attrUvUsage: string = null

The attrUvUsage of abstract geometry component

attrVertColor

attrVertColor: TAttrBufferAttribute = null

The attrVertColor of abstract geometry component

attrVisible

attrVisible: TAttrBufferAttribute = null

The attrVisible of abstract geometry component

attributes

attributes: {} = null

This hashmap has as id the name of the attribute to be set and as value the buffer to set it to. Rather than accessing this property directly, use BufferGeometry.setAttribute and BufferGeometry.getAttribute to access attributes of this geometry.

Type declaration

autoCustomColor

autoCustomColor: boolean = null

The autoCustomColor of abstract geometry component

autoCustomColorKey

autoCustomColorKey: string = null

The autoCustomColorKey of abstract geometry component

autoCustomColorSize

autoCustomColorSize: number = 3

The autoCustomColorSize of abstract geometry component

autoDisplacement

autoDisplacement: boolean = null

The autoDisplacement of abstract geometry component

autoDisplacementSize

autoDisplacementSize: number = 3

The autoDisplacementSize of abstract geometry component

autoSize

autoSize: boolean = null

The autoSize of abstract geometry component

autoSizeSize

autoSizeSize: number = 1

The autoSizeSize of abstract geometry component

bevelEnabled

bevelEnabled: boolean = null

The bevelEnabled of geometry component

bevelOffset

bevelOffset: number = null

The bevelOffset of geometry component

bevelSegments

bevelSegments: number = null

The bevelSegments of geometry component

bevelSize

bevelSize: number = null

The bevelSize of geometry component

bevelThickness

bevelThickness: number = null

The bevelThickness of geometry component

center

center: boolean = false

Center the geometry based on the bounding box.

compressNormals

compressNormals: string = null

Make the input mesh.geometry's normal attribute encoded and compressed by 3 different methods. Also will change the mesh.material to PackedPhongMaterial which let the vertex shader program decode the normal data.

"DEFAULT" || "OCT1Byte" || "OCT2Byte" || "ANGLES"

"OCT1Byte" It is not recommended to use 1-byte octahedron normals encoding unless you want to extremely reduce the memory usage As it makes vertex data not aligned to a 4 byte boundary which may harm some WebGL implementations and sometimes the normal distortion is visible Please refer to @zeux 's comments in https://github.com/mrdoob/three.js/pull/18208

"OCT2Byte" "ANGLES"

compressPositions

compressPositions: boolean = null

The compressPositions

see

GeometryCompressionUtils.compressPositions

compressUvs

compressUvs: boolean = null

The compressUvs

see

GeometryCompressionUtils.compressUvs

computeBoundingBox

computeBoundingBox: boolean = false

Computes bounding box of the geometry, updating BufferGeometry.boundingBox attribute. Bounding boxes aren't computed by default. They need to be explicitly computed, otherwise they are null.

computeBoundingSphere

computeBoundingSphere: boolean = false

Computes bounding sphere of the geometry, updating BufferGeometry.boundingSphere attribute. Bounding spheres aren't computed by default. They need to be explicitly computed, otherwise they are null.

computeTangents

computeTangents: boolean = false

Calculates and adds a tangent attribute to this geometry. The computation is only supported for indexed geometries and if position, normal, and uv attributes are defined.

computeVertexNormals

computeVertexNormals: boolean = false

Computes vertex normals by averaging face normals.

count

count: number = null

The count of abstract geometry component

curveSegments

curveSegments: number = null

The curveSegments of geometry component

cutOffAngle

cutOffAngle: number = null

The cutoff angle in radians. If the angle between two face normals is higher than this value, a split will be made.

see

EdgeSplitModifier

debug

debug: boolean = false

Debug this Object

drawRangeCount

drawRangeCount: number = null

drawRangeCount of abstract geometry component

see

THREE.BufferGeometry setDrawRange

drawRangeStart

drawRangeStart: number = null

drawRangeStart of abstract geometry component

see

THREE.BufferGeometry setDrawRange

edgeSplit

edgeSplit: boolean = null

The geometry to modify by splitting edges. This geometry can be any of any type: Geometry or BufferGeometry, indexed or not

enabled

enabled: boolean = true

Enabled or Not

flipY

flipY: boolean = null

The flipY of abstract geometry component

Protected geometry

geometry: I3JS.BufferGeometry = null

The Geometry of abstract geometry component

height

height: number = null

Height; that is, the length of the edges parallel to the Y axis. Optional; defaults to 1.

icon

icon: string | number | (string | number)[] = null

The icon of geometry component

Icon Name Code Point Code Hex Category
account_circle 59475 e853 action
add 57669 e145 content
add_circle 57671 e147 content
add_circle_outline 57672 e148 content
arrow_back 58820 e5c4 navigation
arrow_back_ios 58848 e5e0 navigation
arrow_drop_down 58821 e5c5 navigation
arrow_forward 58824 e5c8 navigation
arrow_forward_ios 58849 e5e1 navigation
article 61250 ef42 action
calendar_today 59701 e935 action
call 57520 e0b0 communication
cancel 58825 e5c9 navigation
check 58826 e5ca navigation
check_box 59444 e834 toggle
check_box_outline_blank 59445 e835 toggle
check_circle 59500 e86c action
check_circle_outline 59693 e92d action
chevron_left 58827 e5cb navigation
chevron_right 58828 e5cc navigation
clear 57676 e14c content
close 58829 e5cd navigation
content_copy 57677 e14d content
dashboard 59505 e871 action
date_range 59670 e916 action
delete 59506 e872 action
description 59507 e873 action
done 59510 e876 action
edit 58313 e3c9 image
email 57534 e0be communication
error 57344 e000 alert
event 59512 e878 action
expand_less 58830 e5ce navigation
expand_more 58831 e5cf navigation
face 59516 e87c action
favorite 59517 e87d action
favorite_border 59518 e87e action
file_download 58052 e2c4 file
file_upload 58054 e2c6 file
filter_alt 61263 ef4f action
fingerprint 59661 e90d action
groups 62003 f233 social
help 59527 e887 action
help_outline 59645 e8fd action
highlight_off 59528 e888 action
home 59530 e88a action
image 58356 e3f4 image
info 59534 e88e action
language 59540 e894 action
lightbulb 57584 e0f0 action
list 59542 e896 action
local_shipping 58712 e558 maps
location_on 57544 e0c8 communication
lock 59543 e897 action
login 60023 ea77 action
logout 59834 e9ba action
manage_accounts 61486 f02e action
menu 58834 e5d2 navigation
more_horiz 58835 e5d3 navigation
more_vert 58836 e5d4 navigation
navigate_next 58377 e409 image
notifications 59380 e7f4 social
open_in_new 59550 e89e action
paid 61505 f041 action
people 59387 e7fb social
person 59389 e7fd social
person_outline 59391 e7ff social
phone 57549 e0cd communication
photo_camera 58386 e412 image
place 58719 e55f maps
play_arrow 57399 e037 av
question_answer 59567 e8af action
schedule 59573 e8b5 action
school 59404 e80c social
search 59574 e8b6 action
send 57699 e163 content
settings 59576 e8b8 action
share 59405 e80d social
shopping_bag 61900 f1cc action
shopping_cart 59596 e8cc action
star 59448 e838 toggle
task_alt 58086 e2e6 action
thumb_up 59612 e8dc action
verified 61302 ef76 action
visibility 59636 e8f4 action
visibility_off 59637 e8f5 action
warning 57346 e002 alert

See the Icons - Google Fonts page for more detail.

Protected id

id: string = ''

The Id of abstract subscribe component

maxEdgeLength

maxEdgeLength: number = null

The maxEdgeLength of abstract geometry component

maxIterations

maxIterations: number = null

The maxIterations of abstract geometry component

mergeVertices

mergeVertices: boolean = null

geometry -- Instance of BufferGeometry to merge the vertices of. tolerance -- The maximum allowable difference between vertex attributes to merge. Defaults to 1e-4. Returns a new BufferGeometry with vertices for which all similar vertex attributes (within tolerance) are merged.

meshType

meshType: string = null

The meshType of abstract geometry component

Three Type Value String(case insensitive)
THREE.EdgesGeometry EdgesGeometry, Edges
THREE.WireframeGeometry WireframeGeometry, Wireframe
WireframeGeometry2 WireframeGeometry2, Wireframe2

morphAttributes

morphAttributes: {} = null

Hashmap of BufferAttributes holding details of the geometry's morph targets.

Type declaration

name

name: string = null

The name of the object (doesn't need to be unique). Default is an empty string.

onDestory

onDestory: EventEmitter<NgxGeometryIconComponent> = ...

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

onInit

onInit: (geometry: I3JS.BufferGeometry) => void | I3JS.BufferGeometry = null

Type declaration

onLoad

onLoad: EventEmitter<NgxGeometryIconComponent> = ...

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

overrideParams

overrideParams: {} = null

The override params

Type declaration

  • [key: string]: any

Protected parent

parent: any = null

The Parent of abstract subscribe component

program

program: string = null

The program of abstract geometry component

programParam

programParam: any = null

The programParam of abstract geometry component

refName

refName: string | string[] = null

refer mesh name of geometry component

scale

scale: number = null

Scale the geometry data. This is typically done as a one time operation, and not during a loop. Use Object3D.scale for typical real-time mesh scaling.

Protected selfAny

selfAny: any = ...

simplify

simplify: boolean = null

The simplify of abstract geometry component

size

size: number = null

The size of geometry component

sphereScale

sphereScale: number = null

Scale the geometry data. This is typically done as a one time operation, and not during a loop. Use Object3D.scale for typical real-time mesh scaling.

Protected subscribeType

subscribeType: string = null

Subscribe type of abstract subscribe component

tessellate

tessellate: boolean = null

The tessellate of abstract geometry component

thresholdAngle

thresholdAngle: number = null

The thresholdAngle of geometry component

toNonIndexed

toNonIndexed: boolean = null

Return a non-index version of an indexed BufferGeometry.

tryKeepNormals

tryKeepNormals: boolean = null

Set to true to keep the normal values for vertices that won't be split. To use this feature, you also need to pass an indexed geometry with a 'normal' BufferAttribute

see

EdgeSplitModifier

tween

tween: {} = null

Tween animation params

Type declaration

  • [key: string]: any

type

type: string = 'icon'

The type of geometry

Icon Name File Name Icon Alias
icon materialicons-regular.typeface.json.zip materialicons, materialicons-regular, material-icon
outlined materialiconsoutlined-regular.typeface.json.zip materialiconsoutlined, materialiconsoutlined-regular, materialoutlined-icon
round materialiconsround-regular.typeface.json.zip materialiconsround, materialiconsround-regular, materialround-icon
sharp materialiconssharp-regular.typeface.json.zip materialiconssharp, materialiconssharp-regular, materialsharp-icon

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.

vertexBuffer

vertexBuffer: Float32Array | I3JS.InterleavedBuffer | number[] = null

The vertexBuffer of abstract geometry component

vertexBufferStride

vertexBufferStride: number = null

The vertexBufferStride of abstract geometry 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

Protected 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 getAttribute

Protected getAttributes

Protected getChanges

  • getChanges(): string[]

getGeometry

  • getGeometry<T>(): T

getId

  • getId(): string

Protected getMorphAttributes

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

isGeometryType

  • isGeometryType(): boolean

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
  • 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

resetTween

  • resetTween(): void

runSubscribeNext

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

Protected setGeometry

Protected setObject

  • setObject(obj: any): void

setObject3d

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

synkObject3d

Protected unSubscribeRefer

  • unSubscribeRefer(key: string): void

Protected unSubscribeReferList

  • unSubscribeReferList(key: string): void

Protected unSubscription

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

unsetObject3d

updateInputParams

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

Static getIconInfos

  • getIconInfos(): Promise<{ list: IIconInfo[]; map: {} }>

Generated using TypeDoc